Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001219/0.001219, 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.0009679/0.0009679, allocations: 169.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.9141/0.9141, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.641 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.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.928e-06/3.928e-06, allocations: 0 / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.379e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001758/0.001792, allocations: 0.6011 MB / 0.9815 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003035, allocations: 1.131 MB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.003078, allocations: 0 / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.003105, allocations: 0 / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.003173, allocations: 19.86 kB / 0.9826 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.003627, allocations: 118 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.003784, allocations: 83.88 kB / 0.9828 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.003901, allocations: 11.98 kB / 0.9828 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.004002, allocations: 43.91 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.004105, allocations: 27.95 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.00413, allocations: 4 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.741e-05/0.004207, allocations: 23.98 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.004229, allocations: 4 kB / 0.9829 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.004282, allocations: 27.92 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.004465, allocations: 99.75 kB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.004469, allocations: 4 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.513e-06/0.004471, allocations: 0 / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.004477, allocations: 0 / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003781/0.004855, allocations: 296 kB / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.004898, allocations: 12.03 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.004931, allocations: 30.75 kB / 0.9834 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.004969, allocations: 8.922 kB / 0.9834 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.005057, allocations: 113.8 kB / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.005071, allocations: 8.312 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.005086, allocations: 4.375 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.93e-05/0.005175, allocations: 63.95 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.005181, allocations: 192 / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.005188, allocations: 384 / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.005194, allocations: 4.125 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.005214, allocations: 8 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.005523, allocations: 240 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.005568, allocations: 26.5 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.005581, allocations: 8.922 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.005587, allocations: 7.938 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.005737, allocations: 92.98 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.005737, allocations: 0 / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001612/0.005899, allocations: 65.62 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.005933, allocations: 51.41 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.005996, allocations: 109.8 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.006012, allocations: 25.7 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.00605, allocations: 84.14 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.006059, allocations: 7.953 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.006102, allocations: 33.7 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.006181, allocations: 322.8 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.006243, allocations: 57.69 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.006305, allocations: 80.25 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.271e-05/0.006378, allocations: 84.2 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.00638, allocations: 0 / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001677/0.006548, allocations: 176.9 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.006579, allocations: 41.69 kB / 0.985 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.006583, allocations: 0 / 0.985 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006596, allocations: 8.328 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.629e-05/0.006612, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.006617, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.006746, allocations: 27.91 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.006759, allocations: 4 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.613e-05/0.006825, allocations: 121.8 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.006834, allocations: 7.922 kB / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.885e-05/0.006853, allocations: 4 kB / 0.9852 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.006856, allocations: 8 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.00686, allocations: 3.938 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006863, allocations: 0 / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.296e-05/0.006956, allocations: 129 kB / 0.9853 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.006959, allocations: 4 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-06/0.006966, allocations: 7.938 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006968, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.006973, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006974, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006975, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.048e-05/0.007055, allocations: 89 kB / 0.9854 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-06/0.007063, allocations: 7.938 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.007073, allocations: 4 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.007083, allocations: 3.938 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.007104, allocations: 0 / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.00711, allocations: 7.984 kB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.85e-05/0.007139, allocations: 83.28 kB / 0.9855 GB, free: 13.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007139, allocations: 0 / 0.9855 GB, free: 13.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001468/0.007286, allocations: 15.94 kB / 0.9856 GB, free: 13.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000276/0.007562, allocations: 0.6241 MB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.007725, allocations: 145 kB / 0.9863 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.007727, allocations: 0 / 0.9863 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.007743, allocations: 8 kB / 0.9863 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.007901, allocations: 6.578 kB / 0.9863 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009573/0.008858, allocations: 1.485 MB / 0.9878 GB, free: 11.06 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.008895, allocations: 59.36 kB / 0.9878 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.008918, allocations: 7.984 kB / 0.9878 GB, free: 10.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.008947, allocations: 16.69 kB / 0.9879 GB, free: 10.96 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.008948, allocations: 0 / 0.9879 GB, free: 10.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.02457, allocations: 2.74 MB / 0.9905 GB, free: 8.383 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.781, allocations: 11.33 kB / 0.9905 GB, free: 8.379 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.837939784862101]