Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01021/0.01021, allocations: 99.69 kB / 15.73 MB, free: 6.02 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.001717/0.001717, allocations: 194.7 kB / 16.67 MB, free: 5.93 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.497/2.497, allocations: 437 MB / 0.7105 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.176, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006411/1.182, allocations: 4.154 MB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004471/1.187, allocations: 2.358 MB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/1.187, allocations: 11.94 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/1.189, allocations: 0.5385 MB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007862/1.19, allocations: 290.7 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/1.191, allocations: 360.4 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006989/1.192, allocations: 0.5645 MB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006791/1.192, allocations: 371.3 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/1.193, allocations: 227.3 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/1.193, allocations: 279 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/1.193, allocations: 36 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/1.194, allocations: 283.5 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/1.194, allocations: 179.6 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/1.194, allocations: 211 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00091/1.195, allocations: 0.6626 MB / 1.177 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/1.195, allocations: 8 kB / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.773e-06/1.195, allocations: 0 / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.196e-06/1.195, allocations: 0 / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001617/1.197, allocations: 0.7285 MB / 1.178 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.197, allocations: 8.031 kB / 1.178 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/1.198, allocations: 164.5 kB / 1.178 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/1.199, allocations: 328.6 kB / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/1.199, allocations: 33.31 kB / 1.178 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.398e-05/1.199, allocations: 40.34 kB / 1.178 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.2, allocations: 0.6419 MB / 1.179 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/1.2, allocations: 0 / 1.179 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/1.2, allocations: 20 kB / 1.179 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.915e-05/1.2, allocations: 40.62 kB / 1.179 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.201, allocations: 490.1 kB / 1.179 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/1.205, allocations: 3.432 MB / 1.183 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/1.206, allocations: 373 kB / 1.183 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/1.206, allocations: 177.6 kB / 1.183 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/1.206, allocations: 4 kB / 1.183 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.206, allocations: 34.5 kB / 1.183 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/1.206, allocations: 0 / 1.183 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.004496/1.21, allocations: 1.462 MB / 1.185 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/1.211, allocations: 81.11 kB / 1.185 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/1.211, allocations: 336.4 kB / 1.185 GB, free: 492 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/1.211, allocations: 37.64 kB / 1.185 GB, free: 448 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/1.211, allocations: 276 kB / 1.185 GB, free: 164 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/1.211, allocations: 99.16 kB / 1.185 GB, free: 64 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/1.211, allocations: 98.19 kB / 1.185 GB, free: 15.96 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.212, allocations: 338.8 kB / 1.186 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/1.212, allocations: 191 kB / 1.186 GB, free: 15.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/1.212, allocations: 346 kB / 1.186 GB, free: 15.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/1.213, allocations: 0.544 MB / 1.187 GB, free: 14.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.213, allocations: 0 / 1.187 GB, free: 14.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002382/1.216, allocations: 0.9244 MB / 1.188 GB, free: 13.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.216, allocations: 8 kB / 1.188 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.216, allocations: 4.438 kB / 1.188 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/1.218, allocations: 0.5048 MB / 1.188 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/1.218, allocations: 95.88 kB / 1.188 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005716/1.224, allocations: 4.06 MB / 1.192 GB, free: 8.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/1.224, allocations: 47.84 kB / 1.192 GB, free: 8.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/1.225, allocations: 16 kB / 1.192 GB, free: 8.449 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004711/1.225, allocations: 309.1 kB / 1.193 GB, free: 8.145 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000392/1.225, allocations: 338 kB / 1.193 GB, free: 7.738 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006423/1.226, allocations: 0.5018 MB / 1.193 GB, free: 7.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.548e-06/1.226, allocations: 7.938 kB / 1.193 GB, free: 7.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008629/1.227, allocations: 0.5444 MB / 1.194 GB, free: 6.598 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.227, allocations: 8 kB / 1.194 GB, free: 6.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.227, allocations: 12.12 kB / 1.194 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/1.227, allocations: 11.94 kB / 1.194 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/1.227, allocations: 115.8 kB / 1.194 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.227, allocations: 8 kB / 1.194 GB, free: 6.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/1.228, allocations: 47.84 kB / 1.194 GB, free: 6.398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/1.228, allocations: 20 kB / 1.194 GB, free: 6.379 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001761/1.228, allocations: 212.1 kB / 1.194 GB, free: 6.164 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/1.228, allocations: 35.81 kB / 1.194 GB, free: 6.129 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/1.23, allocations: 0.6695 MB / 1.195 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.23, allocations: 4 kB / 1.195 GB, free: 5.434 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.23, allocations: 8 kB / 1.195 GB, free: 5.426 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.23, allocations: 0 / 1.195 GB, free: 5.426 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009075/1.231, allocations: 0.6559 MB / 1.196 GB, free: 4.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.231, allocations: 0 / 1.196 GB, free: 4.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/1.231, allocations: 47.91 kB / 1.196 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/1.232, allocations: 405.3 kB / 1.196 GB, free: 4.258 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/1.232, allocations: 0 / 1.196 GB, free: 4.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003973/1.236, allocations: 3.77 MB / 1.2 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.236, allocations: 4.031 kB / 1.2 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.238, allocations: 0.8302 MB / 1.201 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/1.238, allocations: 144.8 kB / 1.201 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/1.238, allocations: 12 kB / 1.201 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/1.239, allocations: 39.94 kB / 1.201 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/1.239, allocations: 27.84 kB / 1.201 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/1.239, allocations: 11.94 kB / 1.201 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002827/1.239, allocations: 239 kB / 1.201 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.239, allocations: 4 kB / 1.201 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008781/1.24, allocations: 196 kB / 1.201 GB, free: 14.67 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001987/1.24, allocations: 103.2 kB / 1.201 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001713/1.242, allocations: 0.9843 MB / 1.202 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.242, allocations: 0 / 1.202 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007448/1.243, allocations: 491.4 kB / 1.203 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/1.243, allocations: 74.45 kB / 1.203 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/1.244, allocations: 0.7487 MB / 1.204 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/1.245, allocations: 0.8431 MB / 1.204 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003833/1.245, allocations: 151.3 kB / 1.205 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/1.245, allocations: 31.38 kB / 1.205 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/1.245, allocations: 0 / 1.205 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of Templates: time 0.01294/1.258, allocations: 7.468 MB / 1.212 GB, free: 3.703 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches