Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001358/0.001358, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001625/0.001625, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7449 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.17 kB / 0.9116 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3313, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005541/0.3369, allocations: 4.199 MB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003559/0.3405, allocations: 2.341 MB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.3407, allocations: 4 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.3422, allocations: 0.5175 MB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.3428, allocations: 270.9 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008588/0.3437, allocations: 315.4 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.3442, allocations: 0.5607 MB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006174/0.3449, allocations: 424 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.3452, allocations: 235.2 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.3456, allocations: 295 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.3457, allocations: 36 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.3461, allocations: 283.5 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.3463, allocations: 175.6 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.3465, allocations: 218.9 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.3472, allocations: 0.6698 MB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3472, allocations: 0 / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3472, allocations: 0 / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.3472, allocations: 0 / 1.078 GB, free: 252 kB / 0.8262 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.001097/0.3483, allocations: 0.7216 MB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3484, allocations: 8.031 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.3496, allocations: 164.1 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.35, allocations: 324.5 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.3501, allocations: 25.36 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.3502, allocations: 40.31 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009794/0.3511, allocations: 0.6342 MB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.3512, allocations: 7.938 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.3512, allocations: 19.98 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.289e-05/0.3513, allocations: 40.62 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.3521, allocations: 490.1 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.3555, allocations: 3.432 MB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.3562, allocations: 372.9 kB / 1.084 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.3565, allocations: 176.1 kB / 1.084 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.3565, allocations: 11.95 kB / 1.084 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3566, allocations: 42.56 kB / 1.084 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.3566, allocations: 0 / 1.084 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004576/0.3612, allocations: 1.455 MB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.3612, allocations: 81.11 kB / 1.086 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.3617, allocations: 336.4 kB / 1.086 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.3617, allocations: 33.7 kB / 1.086 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3619, allocations: 255.3 kB / 1.086 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.362, allocations: 98.67 kB / 1.086 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.3621, allocations: 98.05 kB / 1.087 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3622, allocations: 338.8 kB / 1.087 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.3626, allocations: 187 kB / 1.087 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.363, allocations: 357.9 kB / 1.087 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/0.3637, allocations: 0.5436 MB / 1.088 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3637, allocations: 0 / 1.088 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002325/0.366, allocations: 0.912 MB / 1.089 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3661, allocations: 4.438 kB / 1.089 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3661, allocations: 16 kB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/0.3684, allocations: 0.497 MB / 1.089 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.3688, allocations: 103.8 kB / 1.089 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005455/0.3743, allocations: 4.052 MB / 1.093 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.3748, allocations: 51.8 kB / 1.093 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.3748, allocations: 27.98 kB / 1.093 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004431/0.3753, allocations: 306.9 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003623/0.3757, allocations: 335.8 kB / 1.094 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006165/0.3763, allocations: 0.5069 MB / 1.095 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.3763, allocations: 0 / 1.095 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008565/0.3772, allocations: 0.5522 MB / 1.095 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3772, allocations: 11.94 kB / 1.095 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3772, allocations: 4 kB / 1.095 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.3772, allocations: 11.94 kB / 1.095 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.3777, allocations: 115.8 kB / 1.095 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3777, allocations: 11.94 kB / 1.095 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.3781, allocations: 40.16 kB / 1.095 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.3781, allocations: 27.98 kB / 1.095 GB, free: 13.28 MB / 0.8575 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.0001657/0.3783, allocations: 212 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.3784, allocations: 31.62 kB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.3801, allocations: 0.6706 MB / 1.096 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3801, allocations: 7.984 kB / 1.096 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3801, allocations: 3.984 kB / 1.096 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3801, allocations: 0 / 1.096 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008469/0.381, allocations: 0.6635 MB / 1.097 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.381, allocations: 0 / 1.097 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.3812, allocations: 52.05 kB / 1.097 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.3827, allocations: 401.1 kB / 1.097 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.3828, allocations: 8 kB / 1.097 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/0.3866, allocations: 3.75 MB / 1.101 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3867, allocations: 0 / 1.101 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.3883, allocations: 0.8258 MB / 1.102 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.3885, allocations: 144.6 kB / 1.102 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.3885, allocations: 8 kB / 1.102 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.3889, allocations: 35.94 kB / 1.102 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.389, allocations: 27.97 kB / 1.102 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.389, allocations: 8 kB / 1.102 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002723/0.3893, allocations: 239 kB / 1.102 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.3893, allocations: 3.938 kB / 1.102 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009154/0.3902, allocations: 200.1 kB / 1.102 GB, free: 5.598 MB / 0.8575 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.000174/0.3904, allocations: 112.4 kB / 1.103 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.3921, allocations: 1.005 MB / 1.104 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3922, allocations: 1.625 kB / 1.104 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/0.3928, allocations: 486.1 kB / 1.104 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.3934, allocations: 82.97 kB / 1.104 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3947, allocations: 0.9097 MB / 1.105 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3951, allocations: 0.8468 MB / 1.106 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004232/0.3955, allocations: 139.2 kB / 1.106 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.3956, allocations: 35.44 kB / 1.106 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.3956, allocations: 3.938 kB / 1.106 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of Templates: time 0.01203/0.4077, allocations: 7.348 MB / 1.113 GB, free: 10.57 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches