Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008552/0.0008554, allocations: 88.2 kB / 16.03 MB, free: 56 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.001423/0.001424, allocations: 182 kB / 16.93 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.982/1.982, allocations: 292.7 MB / 0.5509 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005777/0.0005777, allocations: 14.59 kB / 0.675 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3458, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002785/0.3486, allocations: 1.897 MB / 0.7904 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.8926/1.241, allocations: 146.6 MB / 0.9335 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/1.242, allocations: 8.797 kB / 0.9335 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/1.243, allocations: 0.7697 MB / 0.9343 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007537/1.244, allocations: 481.2 kB / 0.9347 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009448/1.245, allocations: 317 kB / 0.935 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000587/1.245, allocations: 0.5542 MB / 0.9356 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/1.245, allocations: 74.25 kB / 0.9356 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/1.247, allocations: 317.2 kB / 0.9359 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004958/1.247, allocations: 463.9 kB / 0.9364 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/1.247, allocations: 10.5 kB / 0.9364 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/1.248, allocations: 292.2 kB / 0.9367 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/1.248, allocations: 168.1 kB / 0.9368 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003627/1.248, allocations: 279.7 kB / 0.9371 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005606/1.249, allocations: 0.5103 MB / 0.9376 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.249, allocations: 0 / 0.9376 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.995e-06/1.249, allocations: 1.625 kB / 0.9376 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.249, allocations: 4 kB / 0.9376 GB, free: 17.34 MB / 0.7325 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.001653/1.251, allocations: 0.9753 MB / 0.9385 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.251, allocations: 8.875 kB / 0.9386 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/1.252, allocations: 192.2 kB / 0.9387 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/1.253, allocations: 489.6 kB / 0.9392 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/1.253, allocations: 20.19 kB / 0.9392 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/1.253, allocations: 17.62 kB / 0.9392 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/1.254, allocations: 330 kB / 0.9396 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.254, allocations: 0 / 0.9396 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/1.254, allocations: 13.31 kB / 0.9396 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.254, allocations: 12.42 kB / 0.9396 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/1.255, allocations: 335 kB / 0.9399 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/1.258, allocations: 1.119 MB / 0.941 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/1.259, allocations: 402.8 kB / 0.9414 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/1.26, allocations: 205.8 kB / 0.9416 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/1.26, allocations: 10.2 kB / 0.9416 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009308/1.261, allocations: 306.7 kB / 0.9419 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/1.261, allocations: 0 / 0.9419 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.009011/1.27, allocations: 1.207 MB / 0.9431 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/1.27, allocations: 80.61 kB / 0.9431 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/1.272, allocations: 1.34 MB / 0.9444 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/1.272, allocations: 35.55 kB / 0.9445 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/1.273, allocations: 367 kB / 0.9448 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.273, allocations: 99.19 kB / 0.9449 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/1.273, allocations: 28.59 kB / 0.9449 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.273, allocations: 321.2 kB / 0.9453 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/1.274, allocations: 166.7 kB / 0.9454 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/1.274, allocations: 228.6 kB / 0.9456 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/1.276, allocations: 396.2 kB / 0.946 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.276, allocations: 1 kB / 0.946 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004194/1.28, allocations: 0.7107 MB / 0.9467 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/1.28, allocations: 4.719 kB / 0.9467 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.28, allocations: 6.844 kB / 0.9467 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/1.281, allocations: 178.5 kB / 0.9469 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/1.281, allocations: 60.7 kB / 0.9469 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007844/1.289, allocations: 2.109 MB / 0.949 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/1.29, allocations: 41.42 kB / 0.949 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/1.29, allocations: 17.83 kB / 0.9491 GB, free: 13 MB / 0.7325 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.000582/1.291, allocations: 292 kB / 0.9493 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/1.291, allocations: 83.81 kB / 0.9494 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/1.295, allocations: 0.7551 MB / 0.9502 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.295, allocations: 4.25 kB / 0.9502 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.296, allocations: 1.438 kB / 0.9502 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.296, allocations: 2.016 kB / 0.9502 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/1.297, allocations: 0.566 MB / 0.9507 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.297, allocations: 1.094 kB / 0.9507 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/1.297, allocations: 51.17 kB / 0.9508 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00099/1.298, allocations: 180.8 kB / 0.9509 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/1.298, allocations: 19.58 kB / 0.951 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007357/1.305, allocations: 2.112 MB / 0.953 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.305, allocations: 0 / 0.953 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004332/1.31, allocations: 0.7478 MB / 0.9537 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/1.31, allocations: 157.6 kB / 0.9539 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.31, allocations: 6.5 kB / 0.9539 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/1.311, allocations: 28.81 kB / 0.9539 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/1.311, allocations: 25.38 kB / 0.954 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/1.311, allocations: 19 kB / 0.954 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001624/1.312, allocations: 1.002 MB / 0.955 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/1.313, allocations: 0 / 0.955 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007531/1.313, allocations: 107.8 kB / 0.9551 GB, free: 10.79 MB / 0.7325 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.001222/1.315, allocations: 459.3 kB / 0.9555 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001973/1.316, allocations: 0.5497 MB / 0.956 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.317, allocations: 0 / 0.956 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.318, allocations: 357.8 kB / 0.9564 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/1.318, allocations: 107.3 kB / 0.9565 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/1.322, allocations: 1.844 MB / 0.9583 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/1.323, allocations: 0.969 MB / 0.9592 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/1.323, allocations: 43.78 kB / 0.9593 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/1.323, allocations: 0 / 0.9593 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of Templates: time 0.0215/1.345, allocations: 10.98 MB / 0.97 GB, free: 3.355 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Comfort.Validation.FangerCBECalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Comfort.Validation.FangerCBECalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Comfort.Validation.FangerCBECalcHelperMain.o] Error 1