Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.0008004/0.0008004, 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.0008099/0.0008099, allocations: 170.3 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.8526/0.8526, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.702/1.702, allocations: 377.8 MB / 0.6221 GB, free: 8.617 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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9809 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.953e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001634/0.001653, allocations: 1.282 MB / 0.9822 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002219/0.001875, allocations: 103.6 kB / 0.9823 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.001899, allocations: 0 / 0.9823 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.001915, allocations: 0 / 0.9823 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.001978, allocations: 15.91 kB / 0.9823 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.002165, allocations: 35.86 kB / 0.9823 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.241e-05/0.002217, allocations: 23.86 kB / 0.9824 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.002254, allocations: 0 / 0.9824 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.002288, allocations: 7.984 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.002337, allocations: 7.984 kB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.00235, allocations: 0 / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.002451, allocations: 47.94 kB / 0.9824 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.002462, allocations: 0 / 0.9824 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.002478, allocations: 11.94 kB / 0.9824 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.002586, allocations: 47.88 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002587, allocations: 0 / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.492e-06/0.002589, allocations: 0 / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.002593, allocations: 0 / 0.9825 GB, free: 0.9609 MB / 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.0003017/0.002895, allocations: 256.5 kB / 0.9827 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.002931, allocations: 8.031 kB / 0.9827 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.002956, allocations: 30.75 kB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.002979, allocations: 12.94 kB / 0.9828 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/0.003066, allocations: 117.7 kB / 0.9829 GB, free: 496 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.003076, allocations: 4.375 kB / 0.9829 GB, free: 492 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-06/0.003083, allocations: 4.375 kB / 0.9829 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.448e-05/0.003148, allocations: 30.02 kB / 0.9829 GB, free: 452 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003155, allocations: 0 / 0.9829 GB, free: 452 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.003161, allocations: 4 kB / 0.9829 GB, free: 448 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.003166, allocations: 0 / 0.9829 GB, free: 448 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.003195, allocations: 7.938 kB / 0.9829 GB, free: 440 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.003306, allocations: 124.8 kB / 0.9831 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.574e-05/0.003352, allocations: 26.52 kB / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.003371, allocations: 8.859 kB / 0.9831 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.003661, allocations: 87.98 kB / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.003697, allocations: 42.48 kB / 0.9832 GB, free: 84 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.003698, allocations: 0 / 0.9832 GB, free: 84 kB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.000118/0.003816, allocations: 37.64 kB / 0.9833 GB, free: 40 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.003854, allocations: 59.34 kB / 0.9833 GB, free: 15.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.004141, allocations: 101.8 kB / 0.9834 GB, free: 15.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.00415, allocations: 25.7 kB / 0.9834 GB, free: 15.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.216e-05/0.004172, allocations: 84.14 kB / 0.9835 GB, free: 15.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.004193, allocations: 12.08 kB / 0.9835 GB, free: 15.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.004216, allocations: 13.72 kB / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.004282, allocations: 310.8 kB / 0.9838 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/0.004292, allocations: 0 / 0.9838 GB, free: 15.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.0043, allocations: 7.984 kB / 0.9838 GB, free: 15.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.004328, allocations: 12.86 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004329, allocations: 0 / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.377e-05/0.004373, allocations: 45.64 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.004386, allocations: 7.938 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.00439, allocations: 4.094 kB / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.0044, allocations: 0 / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.004447, allocations: 4 kB / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.004451, allocations: 0 / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.004464, allocations: 3.984 kB / 0.9839 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.004468, allocations: 0 / 0.9839 GB, free: 15.3 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.715e-05/0.004515, allocations: 109.8 kB / 0.984 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-06/0.00452, allocations: 3.938 kB / 0.984 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.004585, allocations: 45 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.004588, allocations: 4 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.004592, allocations: 4.031 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.004594, allocations: 0 / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.052e-05/0.004655, allocations: 124.7 kB / 0.9842 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.004656, allocations: 0 / 0.9842 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.00467, allocations: 7.938 kB / 0.9842 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.004673, allocations: 7.922 kB / 0.9842 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.004678, allocations: 0 / 0.9842 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004679, allocations: 0 / 0.9842 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.00468, allocations: 4 kB / 0.9842 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.774e-05/0.004728, allocations: 61.14 kB / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.004735, allocations: 8.016 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.004744, allocations: 7.875 kB / 0.9843 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.004751, allocations: 0 / 0.9843 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.004764, allocations: 7.938 kB / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.004766, allocations: 0 / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.334e-05/0.004789, allocations: 79.28 kB / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004789, allocations: 0 / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001338/0.004923, allocations: 19.94 kB / 0.9844 GB, free: 14.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002754/0.005198, allocations: 0.6201 MB / 0.985 GB, free: 14.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.005264, allocations: 12.03 kB / 0.985 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005266, allocations: 0 / 0.985 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.005273, allocations: 7.938 kB / 0.985 GB, free: 14.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.005469, allocations: 14.64 kB / 0.985 GB, free: 14.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.00613, allocations: 1.087 MB / 0.9861 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.006165, allocations: 55.36 kB / 0.9861 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.006191, allocations: 16.16 kB / 0.9862 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.006222, allocations: 8.5 kB / 0.9862 GB, free: 12.8 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.006222, allocations: 0 / 0.9862 GB, free: 12.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.02342, allocations: 2.099 MB / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.423/6.447, allocations: 7.859 kB / 0.9882 GB, free: 10.82 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.42756952997297]