Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",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.001222/0.001222, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 64.44 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2742, allocations: 157.4 MB / 1.053 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.1851/0.4593, allocations: 198.7 MB / 1.247 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5305/0.9898, allocations: 9.435 MB / 1.256 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.9913, allocations: 18.72 kB / 1.256 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.9929, allocations: 0.6041 MB / 1.257 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005799/0.9988, allocations: 2.028 MB / 1.259 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/1.001, allocations: 0.7298 MB / 1.259 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003212/1.004, allocations: 2.109 MB / 1.261 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/1.006, allocations: 0.7615 MB / 1.262 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003432/1.009, allocations: 1.36 MB / 1.264 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/1.011, allocations: 0.7314 MB / 1.264 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/1.011, allocations: 72.88 kB / 1.264 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005256/1.016, allocations: 1.939 MB / 1.266 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00063/1.017, allocations: 348.9 kB / 1.267 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009691/1.018, allocations: 0.4982 MB / 1.267 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005137/1.023, allocations: 1.83 MB / 1.269 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.023, allocations: 5.938 kB / 1.269 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.023, allocations: 0 / 1.269 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.371e-05/1.023, allocations: 1.5 kB / 1.269 GB, free: 2.355 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.00385/1.027, allocations: 1.428 MB / 1.27 GB, free: 17.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.027, allocations: 11.47 kB / 1.27 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/1.027, allocations: 123.2 kB / 1.27 GB, free: 17.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/1.028, allocations: 152.5 kB / 1.27 GB, free: 17.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008259/1.028, allocations: 0.5602 MB / 1.271 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/1.028, allocations: 53.72 kB / 1.271 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/1.029, allocations: 68.86 kB / 1.271 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/1.03, allocations: 0.8629 MB / 1.272 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/1.03, allocations: 2.688 kB / 1.272 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/1.03, allocations: 27.38 kB / 1.272 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.218e-05/1.03, allocations: 54.62 kB / 1.272 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/1.032, allocations: 0.769 MB / 1.273 GB, free: 17.13 MB / 1.014 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.005819/1.037, allocations: 4.541 MB / 1.277 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/1.038, allocations: 423.2 kB / 1.278 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/1.039, allocations: 187 kB / 1.278 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007252/1.039, allocations: 0.7624 MB / 1.279 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/1.039, allocations: 37.94 kB / 1.279 GB, free: 13.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=40): time 2.484e-06/1.039, allocations: 2.125 kB / 1.279 GB, free: 13.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.001524/1.041, allocations: 0.6059 MB / 1.279 GB, free: 12.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.041, allocations: 59.03 kB / 1.279 GB, free: 12.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/1.042, allocations: 0.862 MB / 1.28 GB, free: 12.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/1.042, allocations: 31.89 kB / 1.28 GB, free: 12.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/1.043, allocations: 394.3 kB / 1.281 GB, free: 12.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/1.043, allocations: 142.1 kB / 1.281 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/1.043, allocations: 96.95 kB / 1.281 GB, free: 12.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.043, allocations: 329 kB / 1.281 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/1.044, allocations: 184.9 kB / 1.281 GB, free: 12.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/1.044, allocations: 279.5 kB / 1.282 GB, free: 12.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/1.045, allocations: 449.3 kB / 1.282 GB, free: 12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.045, allocations: 2.312 kB / 1.282 GB, free: 12 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001092/1.046, allocations: 0.582 MB / 1.283 GB, free: 11.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.046, allocations: 7.594 kB / 1.283 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.046, allocations: 3.641 kB / 1.283 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.046, allocations: 3.562 kB / 1.283 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/1.046, allocations: 106 kB / 1.283 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.046, allocations: 5.062 kB / 1.283 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/1.047, allocations: 72.09 kB / 1.283 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/1.047, allocations: 23.97 kB / 1.283 GB, free: 11.88 MB / 1.014 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 (57): * Single equations (assignments): 57 * 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.0003743/1.048, allocations: 248.7 kB / 1.283 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.048, allocations: 78.09 kB / 1.283 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/1.049, allocations: 0.561 MB / 1.284 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.049, allocations: 5.719 kB / 1.284 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.049, allocations: 0 / 1.284 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.049, allocations: 4.969 kB / 1.284 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/1.052, allocations: 2.122 MB / 1.286 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.053, allocations: 7.594 kB / 1.286 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/1.053, allocations: 90.64 kB / 1.286 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/1.053, allocations: 10.34 kB / 1.286 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/1.053, allocations: 16.22 kB / 1.286 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/1.053, allocations: 13.03 kB / 1.286 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/1.053, allocations: 13.44 kB / 1.286 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/1.055, allocations: 0.9815 MB / 1.287 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/1.055, allocations: 215.7 kB / 1.287 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.055, allocations: 20.25 kB / 1.287 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/1.056, allocations: 22.03 kB / 1.287 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.056, allocations: 48.89 kB / 1.287 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/1.056, allocations: 20.62 kB / 1.287 GB, free: 10.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009465/1.057, allocations: 0.6293 MB / 1.288 GB, free: 10.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.057, allocations: 0 / 1.288 GB, free: 10.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001115/1.058, allocations: 242.2 kB / 1.288 GB, free: 10.26 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.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 (48): * Single equations (assignments): 48 * 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.002424/1.06, allocations: 1.667 MB / 1.29 GB, free: 9.316 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001008/1.061, allocations: 467.8 kB / 1.29 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.061, allocations: 1.312 kB / 1.29 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/1.062, allocations: 231.2 kB / 1.29 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.064, allocations: 0.492 MB / 1.291 GB, free: 9.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008402/1.073, allocations: 6.887 MB / 1.297 GB, free: 6.609 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/1.073, allocations: 1.005 MB / 1.298 GB, free: 5.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007346/1.074, allocations: 187.5 kB / 1.299 GB, free: 5.863 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/1.074, allocations: 292.5 kB / 1.299 GB, free: 5.855 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/1.074, allocations: 0 / 1.299 GB, free: 5.855 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04739/1.122, allocations: 24.08 MB / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/9.35, allocations: 7.938 kB / 1.322 GB, free: 2.164 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches