Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.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.Log10,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10",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.007898/0.007898, allocations: 101.6 kB / 15.73 MB, free: 6.484 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.001664/0.001664, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.393/2.393, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 65.19 kB / 0.9505 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3075, allocations: 140.4 MB / 1.088 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.00224/0.3098, allocations: 0.6704 MB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3109, allocations: 0.8004 MB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.311, allocations: 4 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.311, allocations: 3.938 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.3111, allocations: 0 / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.3112, allocations: 11.92 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.3113, allocations: 20 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.3114, allocations: 7.969 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.3114, allocations: 19.88 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.3115, allocations: 11.98 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3115, allocations: 0 / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.3115, allocations: 7.938 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.3115, allocations: 3.938 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.3116, allocations: 8 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.641e-05/0.3116, allocations: 23.89 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3117, allocations: 0 / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3117, allocations: 0 / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3117, allocations: 0 / 1.089 GB, free: 464 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.0004291/0.3121, allocations: 338.4 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3122, allocations: 12.03 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.3122, allocations: 30.75 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.3122, allocations: 4.844 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3124, allocations: 164.4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3124, allocations: 4.375 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3124, allocations: 384 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3126, allocations: 50.23 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3126, allocations: 15.81 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3126, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3126, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3128, allocations: 39.94 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.3132, allocations: 245 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3133, allocations: 42.48 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.3134, allocations: 20.91 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3134, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3135, allocations: 34.5 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3135, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003679/0.3138, allocations: 85.64 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3139, allocations: 51.41 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.314, allocations: 101.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.314, allocations: 25.7 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.314, allocations: 84.05 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.3141, allocations: 4.562 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.3141, allocations: 13.72 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3142, allocations: 315 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.3143, allocations: 23.97 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/0.3144, allocations: 15.92 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3146, allocations: 36.83 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3146, allocations: 3.938 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.3148, allocations: 69.62 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3148, allocations: 9.875 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3148, allocations: 3.984 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3148, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.3149, allocations: 11.98 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3149, allocations: 3.938 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.315, allocations: 8 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.315, allocations: 0 / 1.091 GB, free: 14.39 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.971e-05/0.3151, allocations: 122 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.3151, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.3153, allocations: 68.78 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3153, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3153, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3153, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3155, allocations: 165.5 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3155, allocations: 8.016 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.3156, allocations: 12 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3156, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3156, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3156, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3156, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.3158, allocations: 167.4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.3159, allocations: 93 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.3159, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.316, allocations: 4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.316, allocations: 3.984 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.316, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.3161, allocations: 79.28 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3161, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002084/0.3163, allocations: 4 kB / 1.092 GB, free: 13.57 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.0005114/0.3168, allocations: 0.7007 MB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.317, allocations: 43.98 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.317, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.3171, allocations: 15.98 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3174, allocations: 5.891 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.3178, allocations: 135.3 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.318, allocations: 0.6768 MB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.3181, allocations: 8.062 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.3181, allocations: 7.438 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.3181, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/0.4526, allocations: 1.291 MB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.251, allocations: 7.984 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches