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.001606/0.001606, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001432/0.001432, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.658/2.658, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 69.17 kB / 0.9245 GB, free: 16 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8712, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006505/0.8778, allocations: 4.155 MB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004465/0.8823, allocations: 2.352 MB / 1.089 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.8826, allocations: 10.78 kB / 1.089 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.8844, allocations: 0.5517 MB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008319/0.8852, allocations: 289 kB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.8863, allocations: 352.8 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000848/0.8871, allocations: 0.5533 MB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006288/0.8878, allocations: 364.2 kB / 1.091 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.8882, allocations: 235.2 kB / 1.092 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.8887, allocations: 283 kB / 1.092 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.614e-05/0.8887, allocations: 34.94 kB / 1.092 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.8894, allocations: 281.2 kB / 1.092 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.8896, allocations: 177.6 kB / 1.092 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.8899, allocations: 210.5 kB / 1.092 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009294/0.8908, allocations: 0.6651 MB / 1.093 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.757e-05/0.8909, allocations: 0.9375 kB / 1.093 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8909, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.8909, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8419 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.00133/0.8922, allocations: 0.714 MB / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.8923, allocations: 9.781 kB / 1.094 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.8936, allocations: 165.9 kB / 1.094 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.8941, allocations: 327.9 kB / 1.094 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.8941, allocations: 29 kB / 1.094 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.8942, allocations: 35.05 kB / 1.094 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.8954, allocations: 0.6414 MB / 1.095 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.8955, allocations: 1.375 kB / 1.095 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.8955, allocations: 13.62 kB / 1.095 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.276e-05/0.8956, allocations: 42.08 kB / 1.095 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/0.8965, allocations: 497.8 kB / 1.096 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004103/0.9006, allocations: 3.437 MB / 1.099 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.9014, allocations: 375.8 kB / 1.099 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.9017, allocations: 170 kB / 1.099 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.9017, allocations: 11.2 kB / 1.099 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.9017, allocations: 37.89 kB / 1.099 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.9018, allocations: 0 / 1.099 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004886/0.9066, allocations: 1.455 MB / 1.101 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.9067, allocations: 85.08 kB / 1.101 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.9073, allocations: 333.9 kB / 1.101 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.9073, allocations: 31.27 kB / 1.101 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.9075, allocations: 270.7 kB / 1.102 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.9076, allocations: 87.19 kB / 1.102 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.9078, allocations: 95.98 kB / 1.102 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.908, allocations: 344.4 kB / 1.102 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.9084, allocations: 188.1 kB / 1.102 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.9089, allocations: 349.1 kB / 1.103 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/0.9097, allocations: 0.5436 MB / 1.103 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9097, allocations: 2.281 kB / 1.103 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002565/0.9123, allocations: 0.9174 MB / 1.104 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.9123, allocations: 7.188 kB / 1.104 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.9123, allocations: 5.219 kB / 1.104 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.9147, allocations: 0.5097 MB / 1.105 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.9152, allocations: 95.7 kB / 1.105 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.9216, allocations: 4.062 MB / 1.109 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.9222, allocations: 43.72 kB / 1.109 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.9222, allocations: 23.25 kB / 1.109 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005361/0.9228, allocations: 306.9 kB / 1.109 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004628/0.9232, allocations: 338.3 kB / 1.109 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008468/0.9241, allocations: 0.5088 MB / 1.11 GB, free: 360 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/0.9241, allocations: 1.281 kB / 1.11 GB, free: 360 kB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009728/0.9251, allocations: 0.5416 MB / 1.11 GB, free: 128 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.9251, allocations: 6.406 kB / 1.11 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9251, allocations: 7.5 kB / 1.11 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.9251, allocations: 11.66 kB / 1.11 GB, free: 124 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.9256, allocations: 113.5 kB / 1.11 GB, free: 112 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.9256, allocations: 13.42 kB / 1.11 GB, free: 108 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.926, allocations: 42.97 kB / 1.11 GB, free: 92 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.926, allocations: 23.59 kB / 1.11 GB, free: 88 kB / 0.8419 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.0002199/0.9263, allocations: 209.2 kB / 1.111 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.5e-05/0.9264, allocations: 30.91 kB / 1.111 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.9282, allocations: 0.6801 MB / 1.111 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.9282, allocations: 7.562 kB / 1.111 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.9282, allocations: 0.6562 kB / 1.111 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.9282, allocations: 4.719 kB / 1.111 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.9293, allocations: 0.6533 MB / 1.112 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9293, allocations: 1.219 kB / 1.112 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.9295, allocations: 46.03 kB / 1.112 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.9311, allocations: 405 kB / 1.112 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.9311, allocations: 6.938 kB / 1.112 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004802/0.9359, allocations: 3.763 MB / 1.116 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.936, allocations: 5.672 kB / 1.116 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.938, allocations: 0.8242 MB / 1.117 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.9384, allocations: 144.1 kB / 1.117 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.9384, allocations: 10.91 kB / 1.117 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.9388, allocations: 38.59 kB / 1.117 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.939, allocations: 30.08 kB / 1.117 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.939, allocations: 7.031 kB / 1.117 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003733/0.9394, allocations: 239.4 kB / 1.117 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9394, allocations: 0 / 1.117 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001031/0.9404, allocations: 195.5 kB / 1.118 GB, free: 11.32 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.0001913/0.9406, allocations: 107.9 kB / 1.118 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.9426, allocations: 1.015 MB / 1.119 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9427, allocations: 0 / 1.119 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008352/0.9435, allocations: 490.3 kB / 1.119 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.9441, allocations: 79.73 kB / 1.119 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.9456, allocations: 0.8006 MB / 1.12 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.9462, allocations: 0.8446 MB / 1.121 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.9464, allocations: 40.62 kB / 1.121 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of SimCode: time 4.6e-07/0.9464, allocations: 1.125 kB / 1.121 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of Templates: time 0.01321/0.9596, allocations: 8.417 MB / 1.129 GB, free: 5.402 MB / 0.8575 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=400 -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/jenkins1/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