Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7611 GB, free: 15.81 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 67.89 kB / 1.104 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.043, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003653/1.046, allocations: 2.224 MB / 1.271 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2112/1.257, allocations: 151 MB / 1.418 GB, free: 6.34 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000365/1.258, allocations: 6.562 kB / 1.418 GB, free: 6.336 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/1.259, allocations: 0.782 MB / 1.419 GB, free: 5.961 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/1.26, allocations: 499.3 kB / 1.42 GB, free: 5.695 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/1.261, allocations: 404.6 kB / 1.42 GB, free: 5.41 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00101/1.262, allocations: 0.5705 MB / 1.421 GB, free: 5.105 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/1.263, allocations: 56 kB / 1.421 GB, free: 5.078 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/1.264, allocations: 367.7 kB / 1.421 GB, free: 4.902 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009033/1.265, allocations: 0.5238 MB / 1.421 GB, free: 4.676 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/1.265, allocations: 23.12 kB / 1.421 GB, free: 4.676 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009074/1.266, allocations: 299.4 kB / 1.422 GB, free: 4.535 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/1.267, allocations: 196.4 kB / 1.422 GB, free: 4.414 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/1.267, allocations: 264.5 kB / 1.422 GB, free: 4.207 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/1.268, allocations: 0.7344 MB / 1.423 GB, free: 3.742 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.268, allocations: 1.031 kB / 1.423 GB, free: 3.742 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.443e-06/1.268, allocations: 0 / 1.423 GB, free: 3.742 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.83e-05/1.268, allocations: 0 / 1.423 GB, free: 3.742 MB / 1.107 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.002508/1.271, allocations: 1.116 MB / 1.424 GB, free: 2.809 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.271, allocations: 9.719 kB / 1.424 GB, free: 2.809 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.764e-05/1.271, allocations: 53.05 kB / 1.424 GB, free: 2.754 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/1.273, allocations: 200.3 kB / 1.424 GB, free: 2.66 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/1.274, allocations: 499.1 kB / 1.425 GB, free: 2.227 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/1.274, allocations: 11.84 kB / 1.425 GB, free: 2.223 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/1.274, allocations: 17.16 kB / 1.425 GB, free: 2.219 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009893/1.275, allocations: 338.5 kB / 1.425 GB, free: 1.988 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.275, allocations: 9.359 kB / 1.425 GB, free: 1.98 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/1.275, allocations: 9.422 kB / 1.425 GB, free: 1.973 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/1.275, allocations: 8.812 kB / 1.425 GB, free: 1.969 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.276, allocations: 330.7 kB / 1.425 GB, free: 1.816 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/1.279, allocations: 1.112 MB / 1.426 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/1.28, allocations: 397.9 kB / 1.427 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/1.28, allocations: 192 kB / 1.427 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-05/1.28, allocations: 13.36 kB / 1.427 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008947/1.281, allocations: 312.4 kB / 1.427 GB, free: 384 kB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 2.686e-06/1.281, allocations: 4 kB / 1.427 GB, free: 380 kB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.009592/1.291, allocations: 1.211 MB / 1.429 GB, free: 15.73 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/1.291, allocations: 88.47 kB / 1.429 GB, free: 15.62 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/1.293, allocations: 1.342 MB / 1.43 GB, free: 15.02 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/1.293, allocations: 32.92 kB / 1.43 GB, free: 14.98 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/1.293, allocations: 364.3 kB / 1.43 GB, free: 14.67 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/1.294, allocations: 106.1 kB / 1.43 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/1.294, allocations: 62.83 kB / 1.43 GB, free: 14.54 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.294, allocations: 325.4 kB / 1.431 GB, free: 14.22 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006816/1.295, allocations: 173.2 kB / 1.431 GB, free: 14.13 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/1.295, allocations: 232 kB / 1.431 GB, free: 13.98 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/1.297, allocations: 398.5 kB / 1.432 GB, free: 13.76 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.297, allocations: 5.531 kB / 1.432 GB, free: 13.76 MB / 1.123 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0043/1.301, allocations: 0.7149 MB / 1.432 GB, free: 13.38 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.301, allocations: 5.719 kB / 1.432 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.301, allocations: 0.9062 kB / 1.432 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.302, allocations: 172.4 kB / 1.432 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/1.302, allocations: 66.77 kB / 1.433 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008359/1.311, allocations: 2.299 MB / 1.435 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/1.311, allocations: 43.83 kB / 1.435 GB, free: 10.78 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/1.311, allocations: 19.97 kB / 1.435 GB, free: 10.76 MB / 1.123 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.0005354/1.312, allocations: 294.2 kB / 1.435 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/1.312, allocations: 95.27 kB / 1.435 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/1.317, allocations: 0.7476 MB / 1.436 GB, free: 9.609 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.317, allocations: 7.938 kB / 1.436 GB, free: 9.602 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.317, allocations: 0 / 1.436 GB, free: 9.602 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/1.317, allocations: 4 kB / 1.436 GB, free: 9.598 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008968/1.318, allocations: 0.5777 MB / 1.436 GB, free: 8.969 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.318, allocations: 0 / 1.436 GB, free: 8.969 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/1.318, allocations: 47.97 kB / 1.437 GB, free: 8.922 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/1.319, allocations: 180.6 kB / 1.437 GB, free: 8.742 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/1.319, allocations: 15.97 kB / 1.437 GB, free: 8.727 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008128/1.327, allocations: 2.3 MB / 1.439 GB, free: 6.285 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.327, allocations: 3.938 kB / 1.439 GB, free: 6.281 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004417/1.332, allocations: 0.7635 MB / 1.44 GB, free: 5.492 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/1.332, allocations: 152.5 kB / 1.44 GB, free: 5.324 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/1.332, allocations: 15.94 kB / 1.44 GB, free: 5.309 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/1.333, allocations: 23.97 kB / 1.44 GB, free: 5.285 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/1.333, allocations: 23.97 kB / 1.44 GB, free: 5.262 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/1.333, allocations: 19.98 kB / 1.44 GB, free: 5.242 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001492/1.334, allocations: 1.007 MB / 1.441 GB, free: 4.238 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.334, allocations: 4 kB / 1.441 GB, free: 4.234 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006726/1.335, allocations: 107.9 kB / 1.441 GB, free: 4.129 MB / 1.123 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.006365/1.341, allocations: 1.641 MB / 1.443 GB, free: 2.625 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002009/1.343, allocations: 0.5335 MB / 1.443 GB, free: 2.078 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.343, allocations: 0 / 1.443 GB, free: 2.078 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.344, allocations: 338.5 kB / 1.443 GB, free: 1.734 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/1.345, allocations: 127.8 kB / 1.444 GB, free: 1.617 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.362, allocations: 6.339 MB / 1.45 GB, free: 11.1 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/1.363, allocations: 0.9606 MB / 1.451 GB, free: 10.11 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003799/1.363, allocations: 90.91 kB / 1.451 GB, free: 10.02 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/1.364, allocations: 263.3 kB / 1.451 GB, free: 9.766 MB / 1.139 GB Notification: Performance of SimCode: time 1.002e-06/1.364, allocations: 0 / 1.451 GB, free: 9.766 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/1.421, allocations: 18.06 MB / 1.469 GB, free: 7.863 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.32, allocations: 4.938 kB / 1.469 GB, free: 7.859 MB / 1.154 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.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: 21.76304262317717]