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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009001/0.0009005, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007233/0.007233, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.83/2.83, allocations: 443.3 MB / 0.7175 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003637, allocations: 9.516 kB / 0.8796 GB, free: 41.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3583, allocations: 155.2 MB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005009/0.3634, allocations: 3.809 MB / 1.035 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.3673, allocations: 2.182 MB / 1.037 GB, free: 14.4 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.3676, allocations: 7.938 kB / 1.037 GB, free: 14.39 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.3679, allocations: 67.48 kB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007055/0.3686, allocations: 251 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/0.3695, allocations: 318.3 kB / 1.038 GB, free: 13.77 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.3704, allocations: 0.8064 MB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.3715, allocations: 0.6455 MB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.3718, allocations: 187.2 kB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004363/0.3723, allocations: 267 kB / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.3723, allocations: 16 kB / 1.039 GB, free: 11.83 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.3729, allocations: 291.4 kB / 1.04 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.373, allocations: 155.6 kB / 1.04 GB, free: 11.39 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.3732, allocations: 220.6 kB / 1.04 GB, free: 11.17 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.3739, allocations: 0.619 MB / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3739, allocations: 0 / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3739, allocations: 0 / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3739, allocations: 0 / 1.041 GB, free: 10.55 MB / 0.795 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.00108/0.375, allocations: 0.6395 MB / 1.041 GB, free: 9.863 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3751, allocations: 8.031 kB / 1.041 GB, free: 9.855 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.3761, allocations: 148.2 kB / 1.041 GB, free: 9.711 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.3765, allocations: 320.5 kB / 1.042 GB, free: 9.355 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.3765, allocations: 29.38 kB / 1.042 GB, free: 9.328 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.3766, allocations: 36.36 kB / 1.042 GB, free: 9.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.3775, allocations: 0.6263 MB / 1.042 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.3775, allocations: 7.938 kB / 1.042 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.3776, allocations: 12 kB / 1.042 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.583e-05/0.3777, allocations: 44.62 kB / 1.042 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007243/0.3784, allocations: 478.1 kB / 1.043 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.3818, allocations: 3.428 MB / 1.046 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.3825, allocations: 374.7 kB / 1.047 GB, free: 3.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.3828, allocations: 177.6 kB / 1.047 GB, free: 3.801 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.3828, allocations: 4 kB / 1.047 GB, free: 3.797 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3829, allocations: 38.56 kB / 1.047 GB, free: 3.75 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 2.305e-06/0.3829, allocations: 0 / 1.047 GB, free: 3.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.00463/0.3875, allocations: 1.462 MB / 1.048 GB, free: 2.238 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.3876, allocations: 89.05 kB / 1.048 GB, free: 2.133 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.388, allocations: 324.4 kB / 1.049 GB, free: 1.809 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.388, allocations: 33.7 kB / 1.049 GB, free: 1.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.3882, allocations: 263.3 kB / 1.049 GB, free: 1.508 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.3883, allocations: 94.72 kB / 1.049 GB, free: 1.414 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.3883, allocations: 37.7 kB / 1.049 GB, free: 1.371 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3885, allocations: 342.8 kB / 1.049 GB, free: 1.027 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.3887, allocations: 177 kB / 1.05 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.3891, allocations: 342 kB / 1.05 GB, free: 460 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.3898, allocations: 0.5351 MB / 1.05 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3898, allocations: 7.938 kB / 1.05 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002317/0.3921, allocations: 0.9122 MB / 1.051 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.3923, allocations: 241 kB / 1.052 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3923, allocations: 8 kB / 1.052 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.3946, allocations: 0.5087 MB / 1.052 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.3951, allocations: 91.88 kB / 1.052 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005444/0.4005, allocations: 3.794 MB / 1.056 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.401, allocations: 47.73 kB / 1.056 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.401, allocations: 20 kB / 1.056 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.401, allocations: 4 kB / 1.056 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007233/0.4018, allocations: 475.3 kB / 1.056 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4018, allocations: 8 kB / 1.056 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.4018, allocations: 8 kB / 1.056 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.4022, allocations: 107.8 kB / 1.057 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4022, allocations: 16.62 kB / 1.057 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.4025, allocations: 27.92 kB / 1.057 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.4026, allocations: 27.98 kB / 1.057 GB, free: 9.188 MB / 0.8106 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.0002948/0.4029, allocations: 273.4 kB / 1.057 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.403, allocations: 31.62 kB / 1.057 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.4047, allocations: 0.6742 MB / 1.058 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4048, allocations: 4 kB / 1.058 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.4048, allocations: 0 / 1.058 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4048, allocations: 3.984 kB / 1.058 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.4057, allocations: 0.652 MB / 1.058 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4057, allocations: 0 / 1.058 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.4059, allocations: 48 kB / 1.058 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.4075, allocations: 401.2 kB / 1.059 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.4075, allocations: 11.94 kB / 1.059 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.4114, allocations: 3.486 MB / 1.062 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4114, allocations: 0 / 1.062 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.4132, allocations: 0.8297 MB / 1.063 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.4134, allocations: 144.6 kB / 1.063 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.4135, allocations: 11.98 kB / 1.063 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.4138, allocations: 31.95 kB / 1.063 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.4139, allocations: 23.97 kB / 1.063 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.4139, allocations: 15.98 kB / 1.063 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002632/0.4142, allocations: 227.1 kB / 1.063 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4142, allocations: 0 / 1.063 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009317/0.4151, allocations: 192.1 kB / 1.063 GB, free: 1.742 MB / 0.8106 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.0001831/0.4153, allocations: 113.6 kB / 1.064 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.4171, allocations: 0.955 MB / 1.064 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.4172, allocations: 1.875 kB / 1.064 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.4179, allocations: 481.9 kB / 1.065 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.4186, allocations: 74.95 kB / 1.065 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4202, allocations: 0.9265 MB / 1.066 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.4206, allocations: 0.8509 MB / 1.067 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004423/0.4211, allocations: 139.1 kB / 1.067 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.934e-05/0.4212, allocations: 27.44 kB / 1.067 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of SimCode: time 9.82e-07/0.4212, allocations: 0 / 1.067 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.01594/0.4371, allocations: 6.762 MB / 1.074 GB, free: 7.344 MB / 0.8262 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