Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 188.4 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.5 MB / 0.7824 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008652/0.0008652, allocations: 107.6 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.867e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2608, allocations: 142.3 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.293, allocations: 180.2 MB / 1.382 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.294, allocations: 91.66 kB / 1.382 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05456/1.348, allocations: 25.56 MB / 1.407 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/1.348, allocations: 0 / 1.407 GB, free: 21.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.929e-05/1.348, allocations: 11.44 kB / 1.407 GB, free: 21.57 MB / 0.8386 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.001005/1.349, allocations: 0.639 MB / 1.408 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.349, allocations: 8.031 kB / 1.408 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.35, allocations: 143.1 kB / 1.408 GB, free: 20.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/1.351, allocations: 325.9 kB / 1.408 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/1.351, allocations: 16 kB / 1.408 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/1.351, allocations: 23.94 kB / 1.408 GB, free: 20.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005524/1.351, allocations: 387.4 kB / 1.408 GB, free: 20.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/1.352, allocations: 0.5482 MB / 1.409 GB, free: 19.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/1.352, allocations: 3.938 kB / 1.409 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/1.352, allocations: 0 / 1.409 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/1.352, allocations: 28.77 kB / 1.409 GB, free: 19.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/1.355, allocations: 3.359 MB / 1.412 GB, free: 16.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/1.356, allocations: 358.8 kB / 1.413 GB, free: 16.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/1.356, allocations: 171.8 kB / 1.413 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/1.356, allocations: 4 kB / 1.413 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/1.356, allocations: 37.88 kB / 1.413 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/1.356, allocations: 0 / 1.413 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001689/1.358, allocations: 0.6659 MB / 1.414 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/1.358, allocations: 77.11 kB / 1.414 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/1.358, allocations: 260 kB / 1.414 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/1.358, allocations: 29.7 kB / 1.414 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/1.358, allocations: 255.4 kB / 1.414 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/1.358, allocations: 95.09 kB / 1.414 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/1.358, allocations: 0 / 1.414 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.359, allocations: 340.6 kB / 1.415 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/1.359, allocations: 159.8 kB / 1.415 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/1.359, allocations: 329.1 kB / 1.415 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/1.36, allocations: 243.7 kB / 1.415 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.36, allocations: 0 / 1.415 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001652/1.361, allocations: 0.727 MB / 1.416 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008465/1.362, allocations: 2.095 MB / 1.418 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.362, allocations: 8 kB / 1.418 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/1.363, allocations: 235 kB / 1.418 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/1.364, allocations: 99.14 kB / 1.418 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/1.365, allocations: 1.262 MB / 1.42 GB, free: 9.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/1.365, allocations: 31.95 kB / 1.42 GB, free: 9.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/1.365, allocations: 23.44 kB / 1.42 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.365, allocations: 7.938 kB / 1.42 GB, free: 9.328 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007365/1.366, allocations: 445 kB / 1.42 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.366, allocations: 11.98 kB / 1.42 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/1.366, allocations: 8 kB / 1.42 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/1.366, allocations: 106.9 kB / 1.42 GB, free: 8.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.366, allocations: 11.94 kB / 1.42 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/1.367, allocations: 32.28 kB / 1.42 GB, free: 8.832 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/1.367, allocations: 19.44 kB / 1.42 GB, free: 8.816 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001288/1.367, allocations: 120.1 kB / 1.42 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/1.367, allocations: 31.62 kB / 1.42 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/1.369, allocations: 0.666 MB / 1.421 GB, free: 8.113 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.369, allocations: 3.953 kB / 1.421 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.369, allocations: 4 kB / 1.421 GB, free: 8.105 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.369, allocations: 0 / 1.421 GB, free: 8.105 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/1.37, allocations: 0.5846 MB / 1.422 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.37, allocations: 0 / 1.422 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.37, allocations: 43.91 kB / 1.422 GB, free: 7.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/1.371, allocations: 409 kB / 1.422 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/1.371, allocations: 3.953 kB / 1.422 GB, free: 7.145 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/1.375, allocations: 3.343 MB / 1.425 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.375, allocations: 0 / 1.425 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/1.377, allocations: 0.8541 MB / 1.426 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/1.377, allocations: 150.2 kB / 1.426 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/1.377, allocations: 4 kB / 1.426 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/1.377, allocations: 31.94 kB / 1.426 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/1.378, allocations: 27.02 kB / 1.426 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/1.378, allocations: 7.938 kB / 1.426 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002279/1.378, allocations: 196.5 kB / 1.427 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.01e-07/1.378, allocations: 0 / 1.427 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008862/1.379, allocations: 168.1 kB / 1.427 GB, free: 2.531 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002027/1.379, allocations: 119.1 kB / 1.427 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.38, allocations: 0.6845 MB / 1.427 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.38, allocations: 0 / 1.427 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007359/1.381, allocations: 453.4 kB / 1.428 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/1.381, allocations: 66.44 kB / 1.428 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009848/1.382, allocations: 0.5157 MB / 1.428 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/1.383, allocations: 0.853 MB / 1.429 GB, free: 104 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004869/1.383, allocations: 156.5 kB / 1.429 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/1.383, allocations: 27.44 kB / 1.429 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/1.383, allocations: 0 / 1.429 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.01059/1.394, allocations: 5.626 MB / 1.435 GB, free: 10.34 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches