Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009322/0.0009322, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00145/0.00145, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9342/0.9342, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.015/2.015, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.873e-05/4.128e-05, allocations: 2.969 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00476/0.004802, allocations: 2.504 MB / 0.8818 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.00782, allocations: 1.239 MB / 0.883 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.008107, allocations: 7.438 kB / 0.883 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000807/0.008914, allocations: 83.58 kB / 0.8831 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006352/0.009549, allocations: 194.9 kB / 0.8833 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.0101, allocations: 164 kB / 0.8835 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007863/0.01089, allocations: 326.9 kB / 0.8838 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.01126, allocations: 181.5 kB / 0.884 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.01164, allocations: 189.2 kB / 0.8841 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.01202, allocations: 155.6 kB / 0.8843 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.01207, allocations: 24 kB / 0.8843 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000372/0.01244, allocations: 163.6 kB / 0.8845 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.01257, allocations: 107.7 kB / 0.8846 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.01267, allocations: 83.81 kB / 0.8846 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.01318, allocations: 303 kB / 0.8849 GB, free: 344 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.01318, allocations: 0 / 0.8849 GB, free: 344 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01318, allocations: 0 / 0.8849 GB, free: 344 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.01319, allocations: 3.938 kB / 0.8849 GB, free: 340 kB / 0.8386 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.0008709/0.01406, allocations: 0.5662 MB / 0.8855 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.0141, allocations: 8.031 kB / 0.8855 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.01481, allocations: 124.5 kB / 0.8856 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.01514, allocations: 192.7 kB / 0.8858 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.01516, allocations: 16.86 kB / 0.8858 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.01526, allocations: 32.5 kB / 0.8858 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.01565, allocations: 283.1 kB / 0.8861 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.01566, allocations: 192 / 0.8861 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.01569, allocations: 16.11 kB / 0.8861 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.0158, allocations: 28.48 kB / 0.8862 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.01601, allocations: 107.3 kB / 0.8863 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.01733, allocations: 1.124 MB / 0.8874 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.01761, allocations: 122.9 kB / 0.8875 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.01769, allocations: 39.67 kB / 0.8875 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.879e-05/0.01778, allocations: 15.98 kB / 0.8875 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.01781, allocations: 41.39 kB / 0.8876 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.196e-06/0.01781, allocations: 0 / 0.8876 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0007845/0.0186, allocations: 393.7 kB / 0.8879 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.01863, allocations: 55.41 kB / 0.888 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.01881, allocations: 235.2 kB / 0.8882 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.01883, allocations: 33.7 kB / 0.8883 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.01894, allocations: 215.1 kB / 0.8885 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.019, allocations: 67.42 kB / 0.8885 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.0191, allocations: 67.28 kB / 0.8886 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.01925, allocations: 0.5001 MB / 0.8891 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.01933, allocations: 35.97 kB / 0.8891 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.01945, allocations: 121.7 kB / 0.8892 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.01967, allocations: 158.8 kB / 0.8894 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01967, allocations: 4 kB / 0.8894 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004971/0.02017, allocations: 244.9 kB / 0.8896 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.02019, allocations: 8 kB / 0.8896 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.0202, allocations: 0 / 0.8896 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.02069, allocations: 111.7 kB / 0.8897 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.02086, allocations: 43.86 kB / 0.8898 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.02257, allocations: 1.889 MB / 0.8916 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.02271, allocations: 8 kB / 0.8916 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.02273, allocations: 11.98 kB / 0.8916 GB, free: 9.016 MB / 0.8542 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.0001298/0.02286, allocations: 172.5 kB / 0.8918 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.02292, allocations: 23.84 kB / 0.8918 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.02321, allocations: 165.4 kB / 0.892 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.02321, allocations: 4 kB / 0.892 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.02322, allocations: 4 kB / 0.892 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02322, allocations: 0 / 0.892 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.02383, allocations: 481.1 kB / 0.8924 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.02384, allocations: 12 kB / 0.8925 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.02405, allocations: 47.91 kB / 0.8925 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.02406, allocations: 4 kB / 0.8925 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.02407, allocations: 4 kB / 0.8925 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.02408, allocations: 4 kB / 0.8925 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02408, allocations: 0 / 0.8925 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.02446, allocations: 345.2 kB / 0.8928 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.02454, allocations: 35.86 kB / 0.8929 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.02457, allocations: 8 kB / 0.8929 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.02469, allocations: 4 kB / 0.8929 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.02473, allocations: 23.94 kB / 0.8929 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.02475, allocations: 4 kB / 0.8929 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.526e-05/0.02484, allocations: 159.1 kB / 0.8931 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02484, allocations: 0 / 0.8931 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004163/0.02526, allocations: 71.94 kB / 0.8931 GB, free: 7.395 MB / 0.8542 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.0001878/0.02545, allocations: 103.2 kB / 0.8932 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.02599, allocations: 357 kB / 0.8936 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.02599, allocations: 0 / 0.8936 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/0.02609, allocations: 69.42 kB / 0.8936 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.02648, allocations: 33.98 kB / 0.8937 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.02776, allocations: 0.542 MB / 0.8942 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.094e-05/0.02785, allocations: 108.3 kB / 0.8943 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.02796, allocations: 17.95 kB / 0.8943 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.02811, allocations: 106.2 kB / 0.8944 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.02811, allocations: 0 / 0.8944 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of Templates: time 0.006992/0.0351, allocations: 3.049 MB / 0.8974 GB, free: 2.977 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.42071432294324]