Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 108 kB / 15.6 MB, free: 132 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.001337/0.001337, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.12/3.12, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.38 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.423, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002398/0.4255, allocations: 0.5705 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.594e-05/0.4255, allocations: 11.92 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.4256, allocations: 0 / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.4256, allocations: 0 / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.796e-05/0.4256, allocations: 4 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.515e-05/0.4257, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.4257, allocations: 4 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.621e-05/0.4258, allocations: 3.984 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.4258, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.4258, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.4259, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-06/0.4259, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.4259, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.4259, allocations: 4 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.774e-05/0.426, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.426, allocations: 4 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.426, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.426, allocations: 0 / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002516/0.4263, allocations: 315.6 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.4263, allocations: 8.031 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.4263, allocations: 0.9375 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.4265, allocations: 168.3 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4265, allocations: 384 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.4265, allocations: 4.375 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.128e-05/0.4266, allocations: 30.27 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.4266, allocations: 192 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4266, allocations: 3.938 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4266, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.653e-05/0.4266, allocations: 4 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.4268, allocations: 149.7 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.4268, allocations: 18.52 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.4269, allocations: 12.95 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.4269, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.4269, allocations: 30.56 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4269, allocations: 0 / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.4271, allocations: 41.64 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.4271, allocations: 55.34 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.4271, allocations: 89.86 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.4272, allocations: 29.69 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.4272, allocations: 84.27 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.4273, allocations: 3.938 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.4273, allocations: 13.72 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4274, allocations: 314.8 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.4274, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-06/0.4275, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.4275, allocations: 8.859 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4275, allocations: 4.062 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.614e-05/0.4276, allocations: 29.7 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4276, allocations: 8 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4276, allocations: 3.984 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4276, allocations: 7.922 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.4277, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.4277, allocations: 3.938 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.819e-06/0.4277, allocations: 0 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.4277, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 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 (1): * Single equations (assignments): 1 * 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.228e-05/0.4278, allocations: 118.4 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.4278, allocations: 7.906 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.4278, allocations: 11 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4278, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4279, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4279, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.428, allocations: 149.7 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.428, allocations: 0 / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.428, allocations: 0 / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.428, allocations: 0 / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.428, allocations: 3.938 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4281, allocations: 8 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4281, allocations: 0 / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.888e-05/0.4281, allocations: 57.12 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.4282, allocations: 77.11 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.4282, allocations: 7.875 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.4282, allocations: 4 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.4283, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.4283, allocations: 4.031 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.4283, allocations: 75.28 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.4283, allocations: 0 / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001797/0.4285, allocations: 0 / 1.071 GB, free: 7.543 MB / 0.8262 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 (1): * Single equations (assignments): 1 * 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.0001628/0.4287, allocations: 99.25 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.985e-05/0.4287, allocations: 19.92 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4288, allocations: 0 / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.454e-06/0.4288, allocations: 4.062 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.4289, allocations: 4.281 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.4292, allocations: 99.52 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4295, allocations: 0.669 MB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.304e-05/0.4295, allocations: 3.984 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.4295, allocations: 7.438 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4295, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.002117/0.4316, allocations: 176.8 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches