Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.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.001566/0.001566, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002324/0.002324, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.821/2.821, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.91 kB / 1.149 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8689/0.8708, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2541/1.125, allocations: 196.3 MB / 1.513 GB, free: 4.992 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007548/1.132, allocations: 4.031 MB / 1.517 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/1.134, allocations: 27.75 kB / 1.517 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/1.136, allocations: 497 kB / 1.518 GB, free: 448 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/1.14, allocations: 1.579 MB / 1.519 GB, free: 14.85 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004319/1.145, allocations: 1.378 MB / 1.52 GB, free: 13.47 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002953/1.148, allocations: 1.616 MB / 1.522 GB, free: 11.85 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/1.149, allocations: 0.869 MB / 1.523 GB, free: 10.97 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/1.152, allocations: 1.11 MB / 1.524 GB, free: 9.855 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/1.154, allocations: 0.9034 MB / 1.525 GB, free: 8.949 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004427/1.154, allocations: 100 kB / 1.525 GB, free: 8.852 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/1.158, allocations: 1.379 MB / 1.526 GB, free: 7.469 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007714/1.158, allocations: 370.9 kB / 1.527 GB, free: 7.105 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/1.16, allocations: 0.5172 MB / 1.527 GB, free: 6.586 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003675/1.163, allocations: 1.666 MB / 1.529 GB, free: 4.914 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.163, allocations: 4 kB / 1.529 GB, free: 4.91 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.363e-06/1.163, allocations: 3.938 kB / 1.529 GB, free: 4.906 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.151e-05/1.163, allocations: 0 / 1.529 GB, free: 4.906 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003436/1.167, allocations: 1.264 MB / 1.53 GB, free: 3.59 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.167, allocations: 15.98 kB / 1.53 GB, free: 3.574 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.691e-05/1.167, allocations: 17 kB / 1.53 GB, free: 3.559 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/1.167, allocations: 90.52 kB / 1.53 GB, free: 3.461 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/1.169, allocations: 239.2 kB / 1.53 GB, free: 3.227 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/1.17, allocations: 0.6233 MB / 1.531 GB, free: 2.562 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/1.17, allocations: 40.94 kB / 1.531 GB, free: 2.527 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/1.17, allocations: 52 kB / 1.531 GB, free: 2.477 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/1.172, allocations: 1.004 MB / 1.532 GB, free: 1.398 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.172, allocations: 4 kB / 1.532 GB, free: 1.395 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/1.172, allocations: 16 kB / 1.532 GB, free: 1.379 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/1.172, allocations: 35.92 kB / 1.532 GB, free: 1.344 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/1.174, allocations: 1.007 MB / 1.533 GB, free: 344 kB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006095/1.18, allocations: 4.137 MB / 1.537 GB, free: 12.03 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.181, allocations: 0.5587 MB / 1.538 GB, free: 11.46 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008377/1.182, allocations: 481.9 kB / 1.538 GB, free: 10.98 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/1.183, allocations: 0.8822 MB / 1.539 GB, free: 9.918 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/1.183, allocations: 39 kB / 1.539 GB, free: 9.871 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002474/1.186, allocations: 0.6361 MB / 1.54 GB, free: 9.234 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 7.183e-06/1.186, allocations: 0 / 1.54 GB, free: 9.234 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01917/1.205, allocations: 3.834 MB / 1.543 GB, free: 5.348 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/1.205, allocations: 55.84 kB / 1.543 GB, free: 5.281 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.206, allocations: 0.7155 MB / 1.544 GB, free: 4.559 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/1.206, allocations: 37.64 kB / 1.544 GB, free: 4.516 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/1.207, allocations: 324.9 kB / 1.544 GB, free: 4.195 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/1.207, allocations: 190.3 kB / 1.545 GB, free: 4.008 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/1.207, allocations: 154 kB / 1.545 GB, free: 3.852 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.207, allocations: 322 kB / 1.545 GB, free: 3.531 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007325/1.208, allocations: 396.9 kB / 1.546 GB, free: 3.141 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008278/1.209, allocations: 493.5 kB / 1.546 GB, free: 2.637 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/1.21, allocations: 0.9219 MB / 1.547 GB, free: 1.688 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.21, allocations: 0 / 1.547 GB, free: 1.688 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01225/1.223, allocations: 2.553 MB / 1.549 GB, free: 15.12 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/1.223, allocations: 5.719 kB / 1.549 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.223, allocations: 7.938 kB / 1.549 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/1.233, allocations: 1.726 MB / 1.551 GB, free: 13.37 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/1.234, allocations: 87.86 kB / 1.551 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/1.247, allocations: 7.144 MB / 1.558 GB, free: 5.848 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/1.248, allocations: 24.03 kB / 1.558 GB, free: 5.824 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/1.249, allocations: 47.92 kB / 1.558 GB, free: 5.777 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004898/1.249, allocations: 211.7 kB / 1.558 GB, free: 5.562 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/1.249, allocations: 87.42 kB / 1.558 GB, free: 5.477 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/1.255, allocations: 1.726 MB / 1.56 GB, free: 3.73 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.255, allocations: 4 kB / 1.56 GB, free: 3.727 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.255, allocations: 4 kB / 1.56 GB, free: 3.723 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.255, allocations: 3.984 kB / 1.56 GB, free: 3.719 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006506/1.261, allocations: 2.528 MB / 1.563 GB, free: 1.109 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.261, allocations: 4 kB / 1.563 GB, free: 1.105 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/1.262, allocations: 87.89 kB / 1.563 GB, free: 1.02 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003597/1.265, allocations: 0.8059 MB / 1.564 GB, free: 212 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/1.266, allocations: 19.94 kB / 1.564 GB, free: 192 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007481/1.273, allocations: 4.84 MB / 1.568 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.273, allocations: 4 kB / 1.568 GB, free: 11.06 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005765/1.279, allocations: 2.152 MB / 1.57 GB, free: 8.867 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/1.279, allocations: 232.5 kB / 1.571 GB, free: 8.621 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/1.28, allocations: 20.19 kB / 1.571 GB, free: 8.602 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/1.28, allocations: 19.98 kB / 1.571 GB, free: 8.582 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/1.28, allocations: 52.42 kB / 1.571 GB, free: 8.531 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/1.28, allocations: 19.98 kB / 1.571 GB, free: 8.512 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007657/1.281, allocations: 0.499 MB / 1.571 GB, free: 8.02 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.281, allocations: 4 kB / 1.571 GB, free: 8.016 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001116/1.282, allocations: 291.8 kB / 1.571 GB, free: 7.73 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006271/1.289, allocations: 2.782 MB / 1.574 GB, free: 4.891 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003889/1.293, allocations: 1.406 MB / 1.576 GB, free: 3.461 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.293, allocations: 3.938 kB / 1.576 GB, free: 3.457 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/1.295, allocations: 0.8678 MB / 1.576 GB, free: 2.559 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/1.297, allocations: 466.5 kB / 1.577 GB, free: 2.109 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03314/1.33, allocations: 10.42 MB / 1.587 GB, free: 7.508 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/1.331, allocations: 0.9828 MB / 1.588 GB, free: 6.5 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007278/1.332, allocations: 170.6 kB / 1.588 GB, free: 6.328 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/1.332, allocations: 283.3 kB / 1.588 GB, free: 6.051 MB / 1.264 GB Notification: Performance of SimCode: time 1.573e-06/1.332, allocations: 0 / 1.588 GB, free: 6.051 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07011/1.402, allocations: 29.81 MB / 1.618 GB, free: 8.609 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/13.15, allocations: 14.33 kB / 1.618 GB, free: 8.598 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.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: 19.497374171973206]