Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9552/0.9552, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.796/1.796, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.347e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003662/0.003695, allocations: 3.076 MB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.005689, allocations: 1.675 MB / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.005816, allocations: 7.938 kB / 0.9868 GB, free: 13.33 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.006544, allocations: 337.3 kB / 0.9871 GB, free: 13 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.006927, allocations: 218.8 kB / 0.9874 GB, free: 12.79 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.007284, allocations: 175.4 kB / 0.9875 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.007579, allocations: 326.8 kB / 0.9878 GB, free: 12.3 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.007883, allocations: 177 kB / 0.988 GB, free: 12.12 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.008133, allocations: 195.5 kB / 0.9882 GB, free: 11.93 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.008361, allocations: 155.6 kB / 0.9883 GB, free: 11.78 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.008391, allocations: 20 kB / 0.9884 GB, free: 11.76 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.008646, allocations: 223.4 kB / 0.9886 GB, free: 11.54 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.008738, allocations: 107.7 kB / 0.9887 GB, free: 11.43 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/0.008809, allocations: 83.81 kB / 0.9888 GB, free: 11.35 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.009235, allocations: 442.7 kB / 0.9892 GB, free: 10.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.00924, allocations: 0 / 0.9892 GB, free: 10.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.009242, allocations: 4 kB / 0.9892 GB, free: 10.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.009248, allocations: 0 / 0.9892 GB, free: 10.91 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007454/0.009993, allocations: 493.3 kB / 0.9896 GB, free: 10.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.01003, allocations: 8.031 kB / 0.9897 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/0.01046, allocations: 96.64 kB / 0.9897 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.01072, allocations: 196 kB / 0.9899 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.01073, allocations: 24.86 kB / 0.99 GB, free: 10.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-05/0.01082, allocations: 20.56 kB / 0.99 GB, free: 10.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.01124, allocations: 432.9 kB / 0.9904 GB, free: 9.582 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01125, allocations: 192 / 0.9904 GB, free: 9.582 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.01128, allocations: 16.12 kB / 0.9904 GB, free: 9.566 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-05/0.01135, allocations: 32.41 kB / 0.9904 GB, free: 9.535 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.01166, allocations: 305.8 kB / 0.9907 GB, free: 9.238 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.01278, allocations: 1.031 MB / 0.9917 GB, free: 8.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.01306, allocations: 206.4 kB / 0.9919 GB, free: 7.949 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.01316, allocations: 109.1 kB / 0.992 GB, free: 7.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.662e-05/0.01324, allocations: 11.94 kB / 0.9921 GB, free: 7.828 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.01327, allocations: 42.45 kB / 0.9921 GB, free: 7.777 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.01327, allocations: 0 / 0.9921 GB, free: 7.777 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0009025/0.01417, allocations: 0.7138 MB / 0.9928 GB, free: 7.031 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.0142, allocations: 55.34 kB / 0.9928 GB, free: 6.965 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.01433, allocations: 199.2 kB / 0.993 GB, free: 6.762 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.01435, allocations: 25.7 kB / 0.9931 GB, free: 6.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.01443, allocations: 168.5 kB / 0.9932 GB, free: 6.562 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.01447, allocations: 63.44 kB / 0.9933 GB, free: 6.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.01454, allocations: 65.64 kB / 0.9933 GB, free: 6.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.01462, allocations: 322.8 kB / 0.9936 GB, free: 6.105 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.01474, allocations: 111.9 kB / 0.9938 GB, free: 5.996 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.01488, allocations: 174.4 kB / 0.9939 GB, free: 5.805 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.01514, allocations: 298.6 kB / 0.9942 GB, free: 5.492 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01514, allocations: 0 / 0.9942 GB, free: 5.492 MB / 0.948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004896/0.01563, allocations: 415 kB / 0.9946 GB, free: 5.078 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01565, allocations: 4 kB / 0.9946 GB, free: 5.074 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01566, allocations: 8.188 kB / 0.9946 GB, free: 5.066 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.01592, allocations: 92.77 kB / 0.9947 GB, free: 4.973 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.01607, allocations: 63.83 kB / 0.9948 GB, free: 4.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.01731, allocations: 1.741 MB / 0.9965 GB, free: 3.066 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01741, allocations: 11.98 kB / 0.9965 GB, free: 3.055 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.01743, allocations: 15.98 kB / 0.9965 GB, free: 3.039 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.01754, allocations: 149.8 kB / 0.9966 GB, free: 2.883 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.01757, allocations: 19.91 kB / 0.9967 GB, free: 2.863 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.01789, allocations: 305.5 kB / 0.9969 GB, free: 2.559 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01789, allocations: 4 kB / 0.9969 GB, free: 2.555 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.0179, allocations: 0 / 0.9969 GB, free: 2.555 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.0179, allocations: 3.984 kB / 0.9969 GB, free: 2.551 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.01846, allocations: 0.6067 MB / 0.9975 GB, free: 1.902 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01846, allocations: 0 / 0.9975 GB, free: 1.902 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.01862, allocations: 56.02 kB / 0.9976 GB, free: 1.848 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01862, allocations: 8.188 kB / 0.9976 GB, free: 1.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01863, allocations: 7.984 kB / 0.9976 GB, free: 1.832 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01864, allocations: 4 kB / 0.9976 GB, free: 1.828 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01864, allocations: 0 / 0.9976 GB, free: 1.828 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.01904, allocations: 0.5202 MB / 0.9981 GB, free: 1.285 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.01909, allocations: 43.84 kB / 0.9982 GB, free: 1.242 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.0192, allocations: 4 kB / 0.9982 GB, free: 1.238 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.01928, allocations: 11.98 kB / 0.9982 GB, free: 1.227 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.01931, allocations: 15.97 kB / 0.9982 GB, free: 1.211 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01932, allocations: 11.94 kB / 0.9982 GB, free: 1.199 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.679e-05/0.01939, allocations: 144.3 kB / 0.9983 GB, free: 1.059 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.0194, allocations: 0 / 0.9983 GB, free: 1.059 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002375/0.01963, allocations: 63.98 kB / 0.9984 GB, free: 0.9961 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000138/0.01977, allocations: 107.2 kB / 0.9985 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.02029, allocations: 415.2 kB / 0.9989 GB, free: 476 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.0203, allocations: 0 / 0.9989 GB, free: 476 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.02044, allocations: 107.9 kB / 0.999 GB, free: 368 kB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.02083, allocations: 34.2 kB / 0.999 GB, free: 336 kB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.02197, allocations: 0.6151 MB / 0.9996 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.02213, allocations: 165.2 kB / 0.9998 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.02221, allocations: 24.5 kB / 0.9998 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/0.02221, allocations: 4 kB / 0.9998 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of Templates: time 0.005678/0.02789, allocations: 3.691 MB / 1.003 GB, free: 11.79 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.142438421025872]