Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.005181/0.005181, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001261/0.001262, allocations: 194.3 kB / 16.67 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 73.78 kB / 0.9505 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3179, allocations: 140.4 MB / 1.088 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.00198/0.32, allocations: 0.6726 MB / 1.088 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009811/0.321, allocations: 0.8043 MB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.321, allocations: 0 / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.3211, allocations: 3.938 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.3212, allocations: 7.938 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.3213, allocations: 7.984 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.686e-05/0.3214, allocations: 19.98 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.3215, allocations: 4 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.3216, allocations: 19.86 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.3216, allocations: 11.98 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3217, allocations: 0 / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.3217, allocations: 4 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.3217, allocations: 7.938 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.3217, allocations: 7.984 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.546e-05/0.3218, allocations: 19.91 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3218, allocations: 4 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3218, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3218, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004667/0.3223, allocations: 338.5 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3224, allocations: 8.031 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.3224, allocations: 34.75 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.3224, allocations: 4.844 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3226, allocations: 160.4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3226, allocations: 4.375 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.3226, allocations: 4.359 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3228, allocations: 50.19 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3228, allocations: 3.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3228, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3228, allocations: 3.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.323, allocations: 35.95 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.3233, allocations: 244.8 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.3235, allocations: 42.53 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.3236, allocations: 28.84 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3236, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3236, allocations: 38.5 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3236, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003543/0.324, allocations: 77.73 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3241, allocations: 59.44 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.3241, allocations: 101.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3241, allocations: 25.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.3242, allocations: 84.05 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.3242, allocations: 0.5625 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.3243, allocations: 17.72 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3244, allocations: 314.8 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.3245, allocations: 23.97 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.3246, allocations: 15.98 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3247, allocations: 36.83 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3247, allocations: 3.938 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.3249, allocations: 69.62 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.325, allocations: 8 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.325, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.325, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.3251, allocations: 7.984 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3251, allocations: 7.938 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.3251, allocations: 3.984 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.3251, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.341e-05/0.3252, allocations: 118.1 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.3253, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.3255, allocations: 72.78 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3255, allocations: 192 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3255, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3255, allocations: 7.984 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.3257, allocations: 165.5 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3257, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.3258, allocations: 15.97 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3258, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.3258, allocations: 3.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3258, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3258, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3261, allocations: 159.5 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.3261, allocations: 89.05 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3261, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.3262, allocations: 8 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3263, allocations: 3.984 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3263, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.3263, allocations: 79.28 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3263, allocations: 3.938 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002137/0.3265, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0005648/0.3271, allocations: 0.7007 MB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.3273, allocations: 35.95 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3273, allocations: 4.094 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.3274, allocations: 19.98 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.3278, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.3282, allocations: 147.2 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3285, allocations: 0.6729 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.3285, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.3286, allocations: 15.48 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3286, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.3473, allocations: 1.282 MB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.932, allocations: 10.75 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches