Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",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.0008625/0.0008626, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005083/0.005083, allocations: 170 kB / 16.26 MB, free: 6.613 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002951, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5367, allocations: 142.4 MB / 0.9552 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.001902/0.5386, allocations: 1.891 MB / 0.957 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.6786, allocations: 146.7 MB / 1.1 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.6788, allocations: 3.938 kB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008595/0.6797, allocations: 0.7759 MB / 1.101 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006598/0.6804, allocations: 470.8 kB / 1.101 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009163/0.6813, allocations: 351.7 kB / 1.102 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.6819, allocations: 0.542 MB / 1.102 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.6821, allocations: 78.94 kB / 1.102 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.6834, allocations: 337.8 kB / 1.103 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.6839, allocations: 451.8 kB / 1.103 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.6839, allocations: 8 kB / 1.103 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.6845, allocations: 295.5 kB / 1.103 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.6846, allocations: 179.6 kB / 1.104 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.6848, allocations: 263.7 kB / 1.104 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.6856, allocations: 0.7005 MB / 1.105 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.6856, allocations: 8 kB / 1.105 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6856, allocations: 7.922 kB / 1.105 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.6856, allocations: 0 / 1.105 GB, free: 5.797 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001441/0.6871, allocations: 0.9641 MB / 1.105 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6871, allocations: 8.031 kB / 1.106 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.129e-05/0.6872, allocations: 58.53 kB / 1.106 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.6887, allocations: 194.7 kB / 1.106 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.6892, allocations: 486.7 kB / 1.106 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.6892, allocations: 20.38 kB / 1.106 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.6893, allocations: 16 kB / 1.106 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008573/0.6902, allocations: 334.9 kB / 1.107 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.6902, allocations: 0 / 1.107 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.6902, allocations: 4 kB / 1.107 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6902, allocations: 4 kB / 1.107 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.6914, allocations: 344.6 kB / 1.107 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.6934, allocations: 1.109 MB / 1.108 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.6944, allocations: 405.3 kB / 1.108 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/0.6951, allocations: 205.6 kB / 1.109 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.6951, allocations: 15.92 kB / 1.109 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007597/0.6959, allocations: 300.8 kB / 1.109 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 2.906e-06/0.6959, allocations: 0 / 1.109 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.008509/0.7044, allocations: 1.203 MB / 1.11 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.7045, allocations: 85.11 kB / 1.11 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.7057, allocations: 1.345 MB / 1.111 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.7058, allocations: 33.7 kB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.706, allocations: 364.4 kB / 1.112 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.861e-05/0.7061, allocations: 106.6 kB / 1.112 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.7062, allocations: 29.7 kB / 1.112 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.7063, allocations: 313.9 kB / 1.112 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.7069, allocations: 179.9 kB / 1.112 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.7075, allocations: 225.7 kB / 1.113 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.7087, allocations: 390.3 kB / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7087, allocations: 0 / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003727/0.7125, allocations: 0.7096 MB / 1.114 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.7125, allocations: 8 kB / 1.114 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7125, allocations: 0 / 1.114 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009949/0.7135, allocations: 180.7 kB / 1.114 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.7138, allocations: 55.91 kB / 1.114 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006915/0.7208, allocations: 2.118 MB / 1.116 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.7212, allocations: 35.86 kB / 1.116 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.7213, allocations: 19.97 kB / 1.116 GB, free: 9.539 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003009/0.7216, allocations: 294.2 kB / 1.116 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.7217, allocations: 86.95 kB / 1.116 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/0.7256, allocations: 0.7443 MB / 1.117 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.7256, allocations: 7.984 kB / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.7256, allocations: 0 / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7256, allocations: 0 / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.7262, allocations: 0.5701 MB / 1.118 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7262, allocations: 7.984 kB / 1.118 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.7265, allocations: 47.91 kB / 1.118 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000922/0.7274, allocations: 180.6 kB / 1.118 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.7274, allocations: 15.97 kB / 1.118 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006788/0.7342, allocations: 2.103 MB / 1.12 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7343, allocations: 4.031 kB / 1.12 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.7381, allocations: 0.7511 MB / 1.121 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.7382, allocations: 155.9 kB / 1.121 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.7383, allocations: 8 kB / 1.121 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.7387, allocations: 27.98 kB / 1.121 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.7388, allocations: 27.95 kB / 1.121 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.7388, allocations: 11.98 kB / 1.121 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008849/0.7397, allocations: 1.007 MB / 1.122 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7397, allocations: 0 / 1.122 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004257/0.7401, allocations: 108 kB / 1.122 GB, free: 3.16 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004929/0.7451, allocations: 1.633 MB / 1.124 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.7467, allocations: 0.5452 MB / 1.124 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7467, allocations: 4 kB / 1.124 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.7476, allocations: 362.7 kB / 1.125 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.7483, allocations: 123 kB / 1.125 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.7621, allocations: 6.723 MB / 1.131 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.7626, allocations: 0.9684 MB / 1.132 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.7629, allocations: 82.92 kB / 1.132 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.7632, allocations: 259.3 kB / 1.132 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of SimCode: time 7.31e-07/0.7633, allocations: 3.938 kB / 1.132 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.793, allocations: 16.86 MB / 1.149 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.7933, allocations: 272.9 kB / 1.149 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.815, allocations: 0 / 1.149 GB, free: 7.336 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches