Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001524/0.001524, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.001545/0.001545, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.555/2.555, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 66.52 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3267, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006169/0.3329, allocations: 4.189 MB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00364/0.3366, allocations: 2.353 MB / 1.071 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3367, allocations: 4 kB / 1.071 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.3382, allocations: 0.5022 MB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.3388, allocations: 270.9 kB / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.3395, allocations: 323.3 kB / 1.072 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006024/0.3402, allocations: 0.5568 MB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006326/0.3408, allocations: 420 kB / 1.073 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.3411, allocations: 239.2 kB / 1.073 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.3415, allocations: 295 kB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.3416, allocations: 36 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004365/0.342, allocations: 287.5 kB / 1.073 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.3422, allocations: 175.6 kB / 1.074 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.3424, allocations: 210.9 kB / 1.074 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.343, allocations: 0.5106 MB / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.343, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.744e-06/0.343, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.343, allocations: 4 kB / 1.074 GB, free: 4.73 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.001223/0.3443, allocations: 0.7291 MB / 1.075 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3443, allocations: 8.625 kB / 1.075 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.3455, allocations: 160.3 kB / 1.075 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.3459, allocations: 324.4 kB / 1.075 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.3459, allocations: 25.38 kB / 1.075 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.346, allocations: 40.34 kB / 1.075 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.347, allocations: 0.6341 MB / 1.076 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.3471, allocations: 0 / 1.076 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.3471, allocations: 27.92 kB / 1.076 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.709e-05/0.3472, allocations: 36.64 kB / 1.076 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008382/0.348, allocations: 498.1 kB / 1.077 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4872/0.8353, allocations: 3.432 MB / 1.08 GB, free: 21.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007714/0.8361, allocations: 375.6 kB / 1.08 GB, free: 21.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.8363, allocations: 175.3 kB / 1.081 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.8364, allocations: 3.656 kB / 1.081 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.8364, allocations: 40.83 kB / 1.081 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.8364, allocations: 0.6562 kB / 1.081 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004761/0.8412, allocations: 1.456 MB / 1.082 GB, free: 20.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.8412, allocations: 80.62 kB / 1.082 GB, free: 20.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.8416, allocations: 333.1 kB / 1.082 GB, free: 20.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.8416, allocations: 34.58 kB / 1.082 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.8418, allocations: 257.8 kB / 1.083 GB, free: 20.24 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.8418, allocations: 102.7 kB / 1.083 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.842, allocations: 92.59 kB / 1.083 GB, free: 20.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.842, allocations: 343.1 kB / 1.083 GB, free: 19.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.8423, allocations: 190 kB / 1.083 GB, free: 19.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.8427, allocations: 350.9 kB / 1.084 GB, free: 19.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.8433, allocations: 0.541 MB / 1.084 GB, free: 19.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8433, allocations: 1.5 kB / 1.084 GB, free: 19.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002355/0.8457, allocations: 0.9301 MB / 1.085 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.8457, allocations: 9.484 kB / 1.085 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.8458, allocations: 6.031 kB / 1.085 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/0.848, allocations: 0.5002 MB / 1.086 GB, free: 18.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.8485, allocations: 100.1 kB / 1.086 GB, free: 18.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005056/0.8535, allocations: 4.045 MB / 1.09 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.8541, allocations: 48.61 kB / 1.09 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.8541, allocations: 24.66 kB / 1.09 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004329/0.8546, allocations: 308.4 kB / 1.09 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003297/0.8549, allocations: 336.9 kB / 1.09 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005539/0.8555, allocations: 0.5059 MB / 1.091 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.8555, allocations: 2.469 kB / 1.091 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008312/0.8563, allocations: 0.5455 MB / 1.091 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.8563, allocations: 8.109 kB / 1.091 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.8563, allocations: 9.156 kB / 1.091 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.8563, allocations: 8.062 kB / 1.091 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.8568, allocations: 113.8 kB / 1.092 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.8568, allocations: 18.06 kB / 1.092 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.8572, allocations: 43.33 kB / 1.092 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.8572, allocations: 23.02 kB / 1.092 GB, free: 14.54 MB / 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.0001192/0.8574, allocations: 212.5 kB / 1.092 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.8574, allocations: 33.02 kB / 1.092 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.8591, allocations: 0.6743 MB / 1.092 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.8591, allocations: 4.25 kB / 1.092 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.8592, allocations: 0 / 1.092 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.8592, allocations: 5.203 kB / 1.092 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008522/0.86, allocations: 0.6635 MB / 1.093 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.86, allocations: 0 / 1.093 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.8602, allocations: 45.69 kB / 1.093 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/0.8619, allocations: 397.5 kB / 1.094 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.8619, allocations: 6.906 kB / 1.094 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.8655, allocations: 3.762 MB / 1.097 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8655, allocations: 1.219 kB / 1.097 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.8671, allocations: 0.8326 MB / 1.098 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.8672, allocations: 143.6 kB / 1.098 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.8673, allocations: 6.594 kB / 1.098 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.8677, allocations: 43.19 kB / 1.098 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.8678, allocations: 21.92 kB / 1.098 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.8678, allocations: 11.77 kB / 1.098 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002727/0.8681, allocations: 234.5 kB / 1.098 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8681, allocations: 1.375 kB / 1.098 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009206/0.869, allocations: 194.4 kB / 1.099 GB, free: 9.816 MB / 0.8419 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.0001428/0.8691, allocations: 116.3 kB / 1.099 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.8709, allocations: 1.009 MB / 1.1 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8709, allocations: 1.344 kB / 1.1 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006797/0.8716, allocations: 489.9 kB / 1.1 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.8721, allocations: 75.77 kB / 1.1 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.8734, allocations: 0.9572 MB / 1.101 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.8737, allocations: 0.8457 MB / 1.102 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.8738, allocations: 36.11 kB / 1.102 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.8738, allocations: 0 / 1.102 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of Templates: time 0.01282/0.8866, allocations: 8.424 MB / 1.11 GB, free: 6.953 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches