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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001113, allocations: 98.88 kB / 16.02 MB, free: 76 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.001528/0.001528, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7194, allocations: 142.4 MB / 0.9557 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004578/0.7241, allocations: 3.812 MB / 0.9594 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.7277, allocations: 2.336 MB / 0.9617 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003625/0.7281, allocations: 8.062 kB / 0.9617 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.7284, allocations: 69.11 kB / 0.9618 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007869/0.7292, allocations: 262.2 kB / 0.962 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.7301, allocations: 315 kB / 0.9623 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009678/0.7311, allocations: 0.814 MB / 0.9631 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.7323, allocations: 0.6586 MB / 0.9638 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.7327, allocations: 182.2 kB / 0.964 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006409/0.7334, allocations: 260.6 kB / 0.9642 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.7335, allocations: 16.97 kB / 0.9642 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006798/0.7342, allocations: 327.1 kB / 0.9645 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.7344, allocations: 158.9 kB / 0.9647 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.7347, allocations: 212.9 kB / 0.9649 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.7353, allocations: 0.5026 MB / 0.9654 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7353, allocations: 3.938 kB / 0.9654 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7353, allocations: 3.938 kB / 0.9654 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.7354, allocations: 1.406 kB / 0.9654 GB, free: 0.6484 MB / 0.7169 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.0009373/0.7363, allocations: 0.6327 MB / 0.966 GB, free: 88 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.7363, allocations: 9.375 kB / 0.966 GB, free: 88 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.7375, allocations: 160.8 kB / 0.9662 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.738, allocations: 319.2 kB / 0.9665 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.738, allocations: 35.73 kB / 0.9665 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.7381, allocations: 36.81 kB / 0.9665 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009985/0.7391, allocations: 0.6334 MB / 0.9672 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.7392, allocations: 13.03 kB / 0.9672 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.7392, allocations: 21.83 kB / 0.9672 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-05/0.7393, allocations: 42.12 kB / 0.9672 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.7402, allocations: 488 kB / 0.9677 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.7438, allocations: 3.443 MB / 0.9711 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/0.7446, allocations: 375.9 kB / 0.9714 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.7448, allocations: 178.4 kB / 0.9716 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.7449, allocations: 10.81 kB / 0.9716 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.7449, allocations: 36.88 kB / 0.9716 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 3.417e-06/0.7449, allocations: 0 / 0.9716 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.004794/0.7497, allocations: 1.471 MB / 0.9731 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.7498, allocations: 80.11 kB / 0.9731 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004481/0.7502, allocations: 343.8 kB / 0.9735 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.7503, allocations: 30.86 kB / 0.9735 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.7504, allocations: 258.5 kB / 0.9737 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.7505, allocations: 91.95 kB / 0.9738 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.7506, allocations: 42.39 kB / 0.9739 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7507, allocations: 343.3 kB / 0.9742 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.7511, allocations: 180.3 kB / 0.9744 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.7515, allocations: 352.7 kB / 0.9747 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.7523, allocations: 0.5428 MB / 0.9752 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7523, allocations: 2.031 kB / 0.9752 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002527/0.7548, allocations: 0.9211 MB / 0.9761 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.755, allocations: 251 kB / 0.9764 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.755, allocations: 9.5 kB / 0.9764 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.7575, allocations: 0.5027 MB / 0.9769 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.7579, allocations: 91.66 kB / 0.977 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/0.7637, allocations: 3.786 MB / 0.9807 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.7643, allocations: 53.3 kB / 0.9807 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/0.7644, allocations: 21.75 kB / 0.9807 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.7644, allocations: 4.75 kB / 0.9807 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009794/0.7654, allocations: 493.1 kB / 0.9812 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.7654, allocations: 5.469 kB / 0.9812 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.7654, allocations: 7.875 kB / 0.9812 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.7659, allocations: 110.2 kB / 0.9813 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.7659, allocations: 15.52 kB / 0.9813 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.7663, allocations: 39.7 kB / 0.9814 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.7663, allocations: 25.36 kB / 0.9814 GB, free: 3.922 MB / 0.7325 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.0003447/0.7667, allocations: 280.5 kB / 0.9817 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/0.7668, allocations: 35.61 kB / 0.9817 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.7686, allocations: 0.6715 MB / 0.9824 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7686, allocations: 4 kB / 0.9824 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7686, allocations: 0 / 0.9824 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.7686, allocations: 3.984 kB / 0.9824 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.7696, allocations: 0.6637 MB / 0.983 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7697, allocations: 3.938 kB / 0.983 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.7699, allocations: 43.95 kB / 0.9831 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.7715, allocations: 401.2 kB / 0.9834 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.7715, allocations: 8 kB / 0.9835 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.7754, allocations: 3.486 MB / 0.9869 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7754, allocations: 0 / 0.9869 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.7772, allocations: 0.822 MB / 0.9877 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.7775, allocations: 160.5 kB / 0.9878 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.7775, allocations: 4 kB / 0.9878 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.778, allocations: 39.94 kB / 0.9879 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.7781, allocations: 15.97 kB / 0.9879 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.7781, allocations: 12 kB / 0.9879 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003293/0.7784, allocations: 235 kB / 0.9881 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7784, allocations: 0 / 0.9881 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00105/0.7795, allocations: 200 kB / 0.9883 GB, free: 12.48 MB / 0.7481 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.0001934/0.7797, allocations: 117.1 kB / 0.9884 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.7815, allocations: 0.9601 MB / 0.9893 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7816, allocations: 4.125 kB / 0.9894 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007319/0.7823, allocations: 473.1 kB / 0.9898 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.783, allocations: 78.05 kB / 0.9899 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.7845, allocations: 0.9723 MB / 0.9908 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.785, allocations: 0.8431 MB / 0.9916 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.7852, allocations: 39.42 kB / 0.9917 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.7852, allocations: 0 / 0.9917 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of Templates: time 0.01257/0.7978, allocations: 8.373 MB / 0.9999 GB, free: 0.5234 MB / 0.7481 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches