Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.91 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7586, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003467/0.7621, allocations: 2.18 MB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.7663, allocations: 3.847 MB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.7665, allocations: 5.75 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.7668, allocations: 65.02 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.7672, allocations: 120.8 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.7675, allocations: 151.8 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.7678, allocations: 308 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.768, allocations: 39.05 kB / 1.278 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.7682, allocations: 135.6 kB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.7684, allocations: 147.5 kB / 1.278 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.7684, allocations: 23.88 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.7687, allocations: 133.5 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.7687, allocations: 56.62 kB / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.7688, allocations: 122.6 kB / 1.279 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.7692, allocations: 342.8 kB / 1.279 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7692, allocations: 0 / 1.279 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7692, allocations: 4 kB / 1.279 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7692, allocations: 4.781 kB / 1.279 GB, free: 2.641 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001067/0.7703, allocations: 0.6404 MB / 1.279 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.7704, allocations: 9.906 kB / 1.279 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.7704, allocations: 40.95 kB / 1.28 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009059/0.7713, allocations: 170.3 kB / 1.28 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.7719, allocations: 322.7 kB / 1.28 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.7719, allocations: 12.55 kB / 1.28 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.772, allocations: 15.34 kB / 1.28 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.7726, allocations: 226.7 kB / 1.28 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7726, allocations: 0 / 1.28 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.7727, allocations: 5.422 kB / 1.28 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7727, allocations: 2.938 kB / 1.28 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.7737, allocations: 280.9 kB / 1.281 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.7748, allocations: 0.5862 MB / 1.281 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.7754, allocations: 156.9 kB / 1.281 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.7759, allocations: 149.3 kB / 1.281 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007039/0.7766, allocations: 0.5454 MB / 1.282 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.7766, allocations: 39.91 kB / 1.282 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.7766, allocations: 1.219 kB / 1.282 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.001602/0.7782, allocations: 481.4 kB / 1.282 GB, free: 404 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.7782, allocations: 58.81 kB / 1.282 GB, free: 336 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.7785, allocations: 266 kB / 1.283 GB, free: 180 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.7785, allocations: 29.7 kB / 1.283 GB, free: 144 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.7785, allocations: 152.6 kB / 1.283 GB, free: 8 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.7786, allocations: 45.62 kB / 1.283 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.7787, allocations: 42.23 kB / 1.283 GB, free: 15.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7788, allocations: 337.8 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.7793, allocations: 141.2 kB / 1.283 GB, free: 15.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.7799, allocations: 154.3 kB / 1.284 GB, free: 15.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009915/0.7808, allocations: 288.5 kB / 1.284 GB, free: 15.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7808, allocations: 0 / 1.284 GB, free: 15.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001115/0.782, allocations: 376.6 kB / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.782, allocations: 6.469 kB / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.782, allocations: 0 / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.782, allocations: 2.094 kB / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.7824, allocations: 67.59 kB / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7824, allocations: 0.5156 kB / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.7828, allocations: 57.45 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.7828, allocations: 8.938 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.000126/0.7829, allocations: 126.3 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.783, allocations: 22.67 kB / 1.284 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.7842, allocations: 385.8 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.7842, allocations: 1.734 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7842, allocations: 3.938 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7842, allocations: 4.703 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.7845, allocations: 299.8 kB / 1.285 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7845, allocations: 0 / 1.285 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.7849, allocations: 67.06 kB / 1.285 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7849, allocations: 0 / 1.285 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.7849, allocations: 8.859 kB / 1.285 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7849, allocations: 0.8438 kB / 1.285 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7849, allocations: 3.938 kB / 1.285 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.7861, allocations: 460.2 kB / 1.286 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.7862, allocations: 121.4 kB / 1.286 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.7862, allocations: 0.7031 kB / 1.286 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.7866, allocations: 38.72 kB / 1.286 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.7866, allocations: 19.94 kB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.7866, allocations: 5.297 kB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001624/0.7868, allocations: 190.8 kB / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.7868, allocations: 0 / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003361/0.7871, allocations: 71.73 kB / 1.286 GB, free: 14.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001512/0.7887, allocations: 1.011 MB / 1.287 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.7898, allocations: 305.2 kB / 1.287 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7898, allocations: 5.969 kB / 1.287 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000532/0.7903, allocations: 161.7 kB / 1.288 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.7907, allocations: 35.14 kB / 1.288 GB, free: 13.42 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/0.7957, allocations: 2.895 MB / 1.29 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.796, allocations: 0.7463 MB / 1.291 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.7962, allocations: 49.91 kB / 1.291 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.7964, allocations: 80.64 kB / 1.291 GB, free: 10.88 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.7964, allocations: 3.938 kB / 1.291 GB, free: 10.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.8255, allocations: 5.832 MB / 1.297 GB, free: 10.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/8.054, allocations: 7.062 kB / 1.297 GB, free: 10.18 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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: 13.270035939998706]