Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007367/0.007367, allocations: 100.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 189.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2747, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.8376/1.112, allocations: 192.6 MB / 1.354 GB, free: 1.285 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007114/1.119, allocations: 4.011 MB / 1.358 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/1.121, allocations: 20.84 kB / 1.358 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/1.122, allocations: 488.5 kB / 1.359 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004302/1.127, allocations: 1.6 MB / 1.36 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004117/1.131, allocations: 1.368 MB / 1.362 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002727/1.134, allocations: 1.645 MB / 1.363 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/1.135, allocations: 0.9489 MB / 1.364 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/1.137, allocations: 0.9471 MB / 1.365 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/1.139, allocations: 0.8456 MB / 1.366 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004513/1.139, allocations: 95.94 kB / 1.366 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/1.143, allocations: 1.312 MB / 1.367 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006815/1.143, allocations: 358 kB / 1.368 GB, free: 9.852 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/1.144, allocations: 0.5147 MB / 1.368 GB, free: 9.508 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003538/1.148, allocations: 1.624 MB / 1.37 GB, free: 8.453 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.148, allocations: 3.984 kB / 1.37 GB, free: 8.449 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.774e-06/1.148, allocations: 0 / 1.37 GB, free: 8.449 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.768e-05/1.148, allocations: 1.188 kB / 1.37 GB, free: 8.449 MB / 1.045 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.003963/1.152, allocations: 1.448 MB / 1.371 GB, free: 7.422 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.152, allocations: 10.44 kB / 1.371 GB, free: 7.422 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002271/1.152, allocations: 90.89 kB / 1.371 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/1.154, allocations: 248 kB / 1.371 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/1.155, allocations: 0.6019 MB / 1.372 GB, free: 6.715 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/1.155, allocations: 44.27 kB / 1.372 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/1.156, allocations: 54 kB / 1.372 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/1.157, allocations: 0.9554 MB / 1.373 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/1.157, allocations: 10.97 kB / 1.373 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/1.157, allocations: 23.75 kB / 1.373 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/1.157, allocations: 30.17 kB / 1.373 GB, free: 5.945 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/1.159, allocations: 0.9419 MB / 1.374 GB, free: 5.469 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005857/1.165, allocations: 4.244 MB / 1.378 GB, free: 1.891 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009674/1.166, allocations: 0.6069 MB / 1.379 GB, free: 1.551 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007555/1.167, allocations: 0.5177 MB / 1.379 GB, free: 1.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000976/1.168, allocations: 0.8809 MB / 1.38 GB, free: 272 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.168, allocations: 37.62 kB / 1.38 GB, free: 228 kB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001469/1.169, allocations: 416.4 kB / 1.381 GB, free: 52 kB / 1.045 GB Notification: Performance of pre-optimization done (n=50): time 4.589e-06/1.169, allocations: 0 / 1.381 GB, free: 52 kB / 1.045 GB Notification: Performance of matching and sorting (n=50): time 0.01678/1.186, allocations: 3.838 MB / 1.384 GB, free: 13.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.186, allocations: 60.78 kB / 1.384 GB, free: 13.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009827/1.187, allocations: 0.716 MB / 1.385 GB, free: 13.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/1.187, allocations: 32.2 kB / 1.385 GB, free: 13.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/1.187, allocations: 319.7 kB / 1.385 GB, free: 13.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/1.188, allocations: 180.3 kB / 1.386 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/1.188, allocations: 154.5 kB / 1.386 GB, free: 12.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.188, allocations: 322.7 kB / 1.386 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/1.189, allocations: 395.6 kB / 1.386 GB, free: 12.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/1.189, allocations: 488.2 kB / 1.387 GB, free: 11.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/1.191, allocations: 0.9183 MB / 1.388 GB, free: 11.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.191, allocations: 0 / 1.388 GB, free: 11.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01097/1.202, allocations: 2.562 MB / 1.39 GB, free: 9.988 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.202, allocations: 5.25 kB / 1.39 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.202, allocations: 6.562 kB / 1.39 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009285/1.211, allocations: 1.726 MB / 1.392 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/1.212, allocations: 97.3 kB / 1.392 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.224, allocations: 7.143 MB / 1.399 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/1.225, allocations: 15.41 kB / 1.399 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.225, allocations: 53.02 kB / 1.399 GB, free: 3.656 MB / 1.061 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.0004941/1.226, allocations: 205.8 kB / 1.399 GB, free: 3.484 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/1.226, allocations: 83.44 kB / 1.399 GB, free: 3.441 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005054/1.231, allocations: 1.746 MB / 1.401 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.231, allocations: 7.469 kB / 1.401 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.231, allocations: 2.344 kB / 1.401 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/1.231, allocations: 0 / 1.401 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00592/1.237, allocations: 2.542 MB / 1.404 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.237, allocations: 4 kB / 1.404 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/1.237, allocations: 88.7 kB / 1.404 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/1.241, allocations: 0.8017 MB / 1.404 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/1.241, allocations: 16 kB / 1.404 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006455/1.247, allocations: 4.868 MB / 1.409 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.247, allocations: 4 kB / 1.409 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005197/1.252, allocations: 2.151 MB / 1.411 GB, free: 8.441 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005461/1.253, allocations: 228 kB / 1.412 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/1.253, allocations: 12 kB / 1.412 GB, free: 8.188 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/1.254, allocations: 23.98 kB / 1.412 GB, free: 8.164 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.254, allocations: 60.36 kB / 1.412 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/1.254, allocations: 20 kB / 1.412 GB, free: 8.086 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007177/1.255, allocations: 0.4951 MB / 1.412 GB, free: 7.598 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.255, allocations: 0 / 1.412 GB, free: 7.598 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001178/1.256, allocations: 291.8 kB / 1.412 GB, free: 7.312 MB / 1.076 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.005805/1.262, allocations: 2.786 MB / 1.415 GB, free: 4.477 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003541/1.265, allocations: 1.48 MB / 1.417 GB, free: 2.973 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.265, allocations: 0 / 1.417 GB, free: 2.973 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/1.267, allocations: 0.9147 MB / 1.417 GB, free: 2.031 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/1.269, allocations: 455.5 kB / 1.418 GB, free: 1.586 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/1.299, allocations: 10.44 MB / 1.428 GB, free: 6.961 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/1.3, allocations: 0.9828 MB / 1.429 GB, free: 5.949 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007895/1.301, allocations: 158.6 kB / 1.429 GB, free: 5.789 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/1.301, allocations: 283.3 kB / 1.429 GB, free: 5.512 MB / 1.092 GB Notification: Performance of SimCode: time 9.82e-07/1.301, allocations: 0 / 1.429 GB, free: 5.512 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06332/1.364, allocations: 29.69 MB / 1.458 GB, free: 8.211 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.77, allocations: 9.453 kB / 1.458 GB, free: 8.203 MB / 1.123 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches