Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000813/0.000813, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8568/0.8568, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.715/1.715, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.765e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001284/0.001301, allocations: 0.7107 MB / 0.9816 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.002737, allocations: 1.544 MB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.002793, allocations: 3.938 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.002821, allocations: 3.938 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.002974, allocations: 27.78 kB / 0.9832 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.003371, allocations: 167.3 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.003504, allocations: 123.6 kB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.003596, allocations: 11.98 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.00377, allocations: 75.81 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.003845, allocations: 43.88 kB / 0.9836 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.003866, allocations: 8 kB / 0.9836 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.004035, allocations: 123.8 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.004059, allocations: 19.98 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.004098, allocations: 43.89 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.00435, allocations: 239.3 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004352, allocations: 0 / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004354, allocations: 0 / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004357, allocations: 0 / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005082/0.004866, allocations: 364.3 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.004903, allocations: 12.03 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.004932, allocations: 38.75 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.005125, allocations: 24.88 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.692e-05/0.005222, allocations: 125.6 kB / 0.9845 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.005286, allocations: 63.91 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.005303, allocations: 8.312 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.005446, allocations: 104.8 kB / 0.9847 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.005455, allocations: 4.188 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.005468, allocations: 7.938 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.005473, allocations: 0 / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.005547, allocations: 47.91 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.006021, allocations: 480 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.006344, allocations: 135.7 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.006399, allocations: 50.64 kB / 0.9854 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.006421, allocations: 4 kB / 0.9854 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.006615, allocations: 109.9 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.006616, allocations: 3.938 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0002821/0.006899, allocations: 145.5 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.006956, allocations: 106.8 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.007041, allocations: 133.7 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.007057, allocations: 29.7 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.007104, allocations: 88.42 kB / 0.986 GB, free: 13.19 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.00713, allocations: 35.8 kB / 0.986 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.007176, allocations: 33.7 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.007265, allocations: 330.9 kB / 0.9863 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.007334, allocations: 31.98 kB / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.186e-05/0.007386, allocations: 35.98 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.007567, allocations: 76.78 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.007571, allocations: 0 / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001878/0.007759, allocations: 135.9 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.007776, allocations: 8 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.007782, allocations: 0 / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.007794, allocations: 0 / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.007879, allocations: 19.98 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.007884, allocations: 7.938 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.007933, allocations: 15.89 kB / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.007945, allocations: 7.984 kB / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/0.008026, allocations: 121.8 kB / 0.9868 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.00804, allocations: 7.953 kB / 0.9868 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.008215, allocations: 118 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008218, allocations: 0 / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.008223, allocations: 8 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.008227, allocations: 240 / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.008351, allocations: 176.6 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008353, allocations: 320 / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.008403, allocations: 23.92 kB / 0.9871 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008405, allocations: 0 / 0.9871 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.008417, allocations: 19.92 kB / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.008419, allocations: 0 / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.00842, allocations: 3.938 kB / 0.9871 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.008584, allocations: 170.7 kB / 0.9873 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.008626, allocations: 31.81 kB / 0.9873 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.008643, allocations: 12 kB / 0.9873 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.008681, allocations: 8 kB / 0.9873 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.008719, allocations: 11.97 kB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.008727, allocations: 4 kB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.008776, allocations: 101.3 kB / 0.9875 GB, free: 11.56 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.008776, allocations: 0 / 0.9875 GB, free: 11.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002205/0.008996, allocations: 67.73 kB / 0.9875 GB, free: 11.49 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004762/0.009473, allocations: 0.7816 MB / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.009641, allocations: 94.7 kB / 0.9884 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.009644, allocations: 8 kB / 0.9884 GB, free: 10.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.009705, allocations: 47.92 kB / 0.9884 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.009874, allocations: 11.94 kB / 0.9884 GB, free: 10.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.01106, allocations: 1.549 MB / 0.9899 GB, free: 8.871 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.894e-05/0.01112, allocations: 89.44 kB / 0.99 GB, free: 8.762 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.194e-05/0.01118, allocations: 19.48 kB / 0.9901 GB, free: 8.746 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.01123, allocations: 32.48 kB / 0.9901 GB, free: 8.715 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.01123, allocations: 0 / 0.9901 GB, free: 8.715 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.02928, allocations: 3.93 MB / 0.9939 GB, free: 4.949 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/6.768, allocations: 11.31 kB / 0.9939 GB, free: 4.941 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.674720995128155]