Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008939/0.0008939, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0008361/0.0008361, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8771/0.8771, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.621/1.621, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.986e-05, allocations: 10.28 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001805/0.001825, allocations: 1.263 MB / 0.9517 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002299/0.002055, allocations: 107.5 kB / 0.9518 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.00208, allocations: 8 kB / 0.9518 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.002098, allocations: 0 / 0.9518 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.347e-05/0.002161, allocations: 0 / 0.9518 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.002348, allocations: 39.81 kB / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.002399, allocations: 19.92 kB / 0.9519 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.002438, allocations: 0 / 0.9519 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.422e-05/0.002472, allocations: 7.938 kB / 0.9519 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.002525, allocations: 7.984 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.002541, allocations: 11.92 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.002646, allocations: 43.95 kB / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.002659, allocations: 4 kB / 0.952 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.002676, allocations: 7.984 kB / 0.952 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.002779, allocations: 43.88 kB / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002781, allocations: 0 / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.82e-07/0.002782, allocations: 0 / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.002786, allocations: 3.938 kB / 0.952 GB, free: 1.91 MB / 0.9011 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.000304/0.00309, allocations: 262.2 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.003127, allocations: 11.97 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.86e-05/0.003156, allocations: 38.75 kB / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.88e-05/0.003174, allocations: 0.9375 kB / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.832e-05/0.003263, allocations: 105.8 kB / 0.9524 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003273, allocations: 4.375 kB / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.00328, allocations: 384 / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.00335, allocations: 38 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.003357, allocations: 0 / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003364, allocations: 0 / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.003368, allocations: 0 / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.943e-05/0.003397, allocations: 11.94 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.003508, allocations: 124.8 kB / 0.9526 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.637e-05/0.003554, allocations: 22.61 kB / 0.9526 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.003574, allocations: 8.922 kB / 0.9526 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.003854, allocations: 79.92 kB / 0.9527 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.003873, allocations: 38.5 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.003874, allocations: 0 / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001239/0.003998, allocations: 45.62 kB / 0.9528 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.004024, allocations: 55.41 kB / 0.9528 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/0.004073, allocations: 102 kB / 0.9529 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.004082, allocations: 25.7 kB / 0.9529 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.004105, allocations: 84.14 kB / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.004127, allocations: 7.938 kB / 0.953 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.004148, allocations: 13.72 kB / 0.9531 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.004223, allocations: 310.8 kB / 0.9533 GB, free: 372 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.004234, allocations: 8 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.004241, allocations: 0 / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.004266, allocations: 16.86 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004268, allocations: 0 / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.323e-05/0.004311, allocations: 49.69 kB / 0.9534 GB, free: 288 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.004324, allocations: 7.938 kB / 0.9534 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.004329, allocations: 0 / 0.9534 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.004339, allocations: 0 / 0.9534 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.004388, allocations: 4 kB / 0.9534 GB, free: 276 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.004396, allocations: 0 / 0.9534 GB, free: 276 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.004408, allocations: 7.938 kB / 0.9534 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.004412, allocations: 0 / 0.9534 GB, free: 268 kB / 0.9011 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.722e-05/0.004459, allocations: 105.8 kB / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-06/0.004464, allocations: 7.953 kB / 0.9535 GB, free: 144 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.00453, allocations: 52.95 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004532, allocations: 3.938 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.004536, allocations: 0 / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004539, allocations: 0 / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.493e-05/0.004614, allocations: 124.8 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004614, allocations: 0 / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.004625, allocations: 4 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.004628, allocations: 3.938 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.004633, allocations: 0 / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004634, allocations: 0 / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.004635, allocations: 4.031 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.906e-05/0.004684, allocations: 69.27 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.00469, allocations: 4 kB / 0.9538 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.004703, allocations: 11.92 kB / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.004709, allocations: 0 / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.004722, allocations: 3.984 kB / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.004724, allocations: 3.938 kB / 0.9538 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.443e-05/0.004748, allocations: 83.28 kB / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004748, allocations: 0 / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001302/0.004878, allocations: 15.94 kB / 0.9539 GB, free: 15.7 MB / 0.9167 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.0002728/0.005151, allocations: 0.6202 MB / 0.9545 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.206e-05/0.005213, allocations: 8 kB / 0.9545 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005215, allocations: 0 / 0.9545 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.005222, allocations: 7.938 kB / 0.9545 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.005396, allocations: 8 kB / 0.9545 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.006022, allocations: 1.095 MB / 0.9556 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.006063, allocations: 59.36 kB / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.006085, allocations: 7.984 kB / 0.9557 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.006108, allocations: 12.44 kB / 0.9557 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of SimCode: time 6.92e-07/0.006108, allocations: 0 / 0.9557 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.02241, allocations: 2.118 MB / 0.9578 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.203, allocations: 3.25 kB / 0.9578 GB, free: 11.77 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.200420350767672]