Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.startTime|const.y|cosine.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.startTime|const.y|cosine.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001838, allocations: 109.8 kB / 16.41 MB, free: 6.449 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.002567/0.002567, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.508/1.508, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.098, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.003043/1.101, allocations: 1.642 MB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009318/1.102, allocations: 0.5417 MB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/1.102, allocations: 7.938 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002128/1.102, allocations: 23.8 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002742/1.103, allocations: 68.92 kB / 1.17 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/1.103, allocations: 59.91 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/1.103, allocations: 139.5 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/1.103, allocations: 49.45 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/1.103, allocations: 59.78 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/1.103, allocations: 63.62 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/1.103, allocations: 8 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.38e-05/1.103, allocations: 20 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.991e-05/1.104, allocations: 43.83 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/1.104, allocations: 59.61 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/1.104, allocations: 151.2 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.104, allocations: 0 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/1.104, allocations: 0 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.104, allocations: 0 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006614/1.105, allocations: 472.5 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.105, allocations: 8.922 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/1.105, allocations: 16.75 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/1.105, allocations: 240.7 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/1.105, allocations: 4.375 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/1.105, allocations: 16.31 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/1.105, allocations: 109.9 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.105, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/1.105, allocations: 4 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.105, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/1.106, allocations: 63.88 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/1.106, allocations: 384.5 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/1.107, allocations: 46.48 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/1.107, allocations: 28.89 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/1.107, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/1.107, allocations: 93.09 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/1.107, allocations: 4 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.000467/1.107, allocations: 125.3 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/1.108, allocations: 81.11 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/1.108, allocations: 253 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/1.108, allocations: 29.7 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.108, allocations: 128 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/1.108, allocations: 3.906 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/1.108, allocations: 21.7 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.108, allocations: 326.8 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/1.108, allocations: 27.97 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/1.109, allocations: 47.41 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/1.109, allocations: 74.5 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.109, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002844/1.109, allocations: 101.4 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.109, allocations: 4 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.109, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.109, allocations: 4 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/1.109, allocations: 23.95 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.109, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-05/1.109, allocations: 19.83 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/1.109, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001266/1.109, allocations: 130.1 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/1.11, allocations: 15.81 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/1.11, allocations: 25.16 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.11, allocations: 3.938 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.11, allocations: 7.938 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/1.11, allocations: 92.91 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/1.11, allocations: 4 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/1.11, allocations: 11.98 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/1.11, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003378/1.11, allocations: 164.9 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003782/1.111, allocations: 274.5 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000116/1.111, allocations: 27.97 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001714/1.111, allocations: 188.5 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of Backend: time 3.41e-07/1.111, allocations: 0 / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006471/1.112, allocations: 160.6 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000755/1.112, allocations: 0.7437 MB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.005152/1.117, allocations: 1.922 MB / 1.176 GB, free: 10.14 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_JSONWriter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches