Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_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.007169/0.007169, allocations: 98.36 kB / 15.73 MB, free: 6.062 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.002178/0.002178, allocations: 200 kB / 16.68 MB, free: 5.977 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.201/1.201, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.453/2.453, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 75.86 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.251, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002915/0.2539, allocations: 2.19 MB / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5959/0.8498, allocations: 150.6 MB / 1.391 GB, free: 3.895 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.85, allocations: 7.75 kB / 1.391 GB, free: 3.891 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007845/0.8508, allocations: 0.7737 MB / 1.392 GB, free: 3.523 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0005712/0.8514, allocations: 0.4907 MB / 1.392 GB, free: 3.254 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.8521, allocations: 398.9 kB / 1.393 GB, free: 2.973 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0004899/0.8526, allocations: 0.5676 MB / 1.393 GB, free: 2.672 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8528, allocations: 77.94 kB / 1.393 GB, free: 2.637 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009278/0.8537, allocations: 356.4 kB / 1.394 GB, free: 2.473 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004269/0.8542, allocations: 484.3 kB / 1.394 GB, free: 2.277 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.8542, allocations: 23.09 kB / 1.394 GB, free: 2.277 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.8547, allocations: 300.8 kB / 1.394 GB, free: 2.137 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.8548, allocations: 183.2 kB / 1.395 GB, free: 2.027 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.855, allocations: 269.6 kB / 1.395 GB, free: 1.816 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.8558, allocations: 0.7389 MB / 1.396 GB, free: 1.352 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.8558, allocations: 0 / 1.396 GB, free: 1.352 MB / 1.092 GB Notification: Performance of FrontEnd: time 5.24e-06/0.8558, allocations: 3.984 kB / 1.396 GB, free: 1.348 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.8558, allocations: 5.281 kB / 1.396 GB, free: 1.344 MB / 1.092 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.001396/0.8572, allocations: 1.107 MB / 1.397 GB, free: 428 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.8573, allocations: 14.25 kB / 1.397 GB, free: 424 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.8573, allocations: 48.52 kB / 1.397 GB, free: 372 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.8586, allocations: 203.8 kB / 1.397 GB, free: 272 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.8592, allocations: 0.489 MB / 1.397 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.8592, allocations: 16.31 kB / 1.397 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.8592, allocations: 17.59 kB / 1.397 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008066/0.8601, allocations: 342.7 kB / 1.398 GB, free: 15.59 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.8601, allocations: 0 / 1.398 GB, free: 15.59 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.8601, allocations: 19.16 kB / 1.398 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8601, allocations: 4.312 kB / 1.398 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.8612, allocations: 334.1 kB / 1.398 GB, free: 15.41 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.863, allocations: 1.11 MB / 1.399 GB, free: 14.54 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009982/0.864, allocations: 405 kB / 1.399 GB, free: 14.31 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.8646, allocations: 200.5 kB / 1.4 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.8647, allocations: 17.12 kB / 1.4 GB, free: 14.2 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007243/0.8654, allocations: 303 kB / 1.4 GB, free: 13.99 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 1.303e-06/0.8654, allocations: 0 / 1.4 GB, free: 13.99 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.007715/0.8731, allocations: 1.217 MB / 1.401 GB, free: 13.34 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.8732, allocations: 85.23 kB / 1.401 GB, free: 13.24 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.8744, allocations: 1.342 MB / 1.403 GB, free: 12.63 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.8744, allocations: 32.14 kB / 1.403 GB, free: 12.6 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.8747, allocations: 369.6 kB / 1.403 GB, free: 12.28 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.8748, allocations: 105.5 kB / 1.403 GB, free: 12.19 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.8749, allocations: 66.14 kB / 1.403 GB, free: 12.14 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.875, allocations: 321.6 kB / 1.403 GB, free: 11.82 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.8756, allocations: 180.5 kB / 1.404 GB, free: 11.73 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.8762, allocations: 223 kB / 1.404 GB, free: 11.59 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.8774, allocations: 405.2 kB / 1.404 GB, free: 11.36 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8774, allocations: 0.7188 kB / 1.404 GB, free: 11.36 MB / 1.107 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003539/0.8809, allocations: 0.7167 MB / 1.405 GB, free: 10.98 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.881, allocations: 9.562 kB / 1.405 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.881, allocations: 1.156 kB / 1.405 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009069/0.8819, allocations: 175.6 kB / 1.405 GB, free: 10.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.8822, allocations: 62.55 kB / 1.405 GB, free: 10.88 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006832/0.889, allocations: 2.3 MB / 1.407 GB, free: 8.969 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.8894, allocations: 45.72 kB / 1.407 GB, free: 8.941 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.8895, allocations: 12.92 kB / 1.407 GB, free: 8.938 MB / 1.107 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.0002788/0.8898, allocations: 299.2 kB / 1.408 GB, free: 8.746 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/0.8899, allocations: 87.69 kB / 1.408 GB, free: 8.695 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003641/0.8935, allocations: 0.7577 MB / 1.409 GB, free: 8.281 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.8935, allocations: 4.844 kB / 1.409 GB, free: 8.281 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.8935, allocations: 0 / 1.409 GB, free: 8.281 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.8935, allocations: 1.281 kB / 1.409 GB, free: 8.281 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.8941, allocations: 0.5692 MB / 1.409 GB, free: 7.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8941, allocations: 0 / 1.409 GB, free: 7.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.8943, allocations: 53.09 kB / 1.409 GB, free: 7.824 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008466/0.8952, allocations: 175.3 kB / 1.409 GB, free: 7.738 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.8952, allocations: 16.97 kB / 1.409 GB, free: 7.727 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006739/0.902, allocations: 2.292 MB / 1.412 GB, free: 5.828 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.902, allocations: 0 / 1.412 GB, free: 5.828 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003542/0.9055, allocations: 0.7639 MB / 1.412 GB, free: 5.402 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.9057, allocations: 152.6 kB / 1.412 GB, free: 5.254 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/0.9057, allocations: 10.75 kB / 1.412 GB, free: 5.246 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.9061, allocations: 26.38 kB / 1.413 GB, free: 5.234 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.9062, allocations: 27.19 kB / 1.413 GB, free: 5.219 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.9062, allocations: 19.48 kB / 1.413 GB, free: 5.211 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008504/0.9071, allocations: 1.002 MB / 1.414 GB, free: 4.746 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9071, allocations: 0 / 1.414 GB, free: 4.746 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003879/0.9075, allocations: 117.3 kB / 1.414 GB, free: 4.723 MB / 1.107 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.005039/0.9125, allocations: 1.635 MB / 1.415 GB, free: 3.645 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.914, allocations: 0.55 MB / 1.416 GB, free: 3.32 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.914, allocations: 4.062 kB / 1.416 GB, free: 3.316 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008215/0.9148, allocations: 369.4 kB / 1.416 GB, free: 3.074 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.9154, allocations: 126.2 kB / 1.416 GB, free: 3.004 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.9278, allocations: 6.345 MB / 1.422 GB, free: 13.53 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.9284, allocations: 0.9645 MB / 1.423 GB, free: 12.54 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.9286, allocations: 90.89 kB / 1.423 GB, free: 12.45 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.9289, allocations: 267.3 kB / 1.424 GB, free: 12.19 MB / 1.123 GB Notification: Performance of SimCode: time 2.2e-07/0.9289, allocations: 0 / 1.424 GB, free: 12.19 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7712/1.7, allocations: 17.99 MB / 1.441 GB, free: 10.4 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/15.14, allocations: 3.859 kB / 1.441 GB, free: 10.39 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches