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.0007489/0.0007489, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007511/0.0007511, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8289/0.8289, allocations: 177.1 MB / 202.8 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.638/1.638, allocations: 377.8 MB / 0.6221 GB, free: 8.645 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9809 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.932e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003015/0.003034, allocations: 3.076 MB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.00493, allocations: 1.675 MB / 0.9856 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.00503, allocations: 7.938 kB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.005645, allocations: 337.8 kB / 0.9859 GB, free: 13.46 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.005992, allocations: 214.8 kB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.00631, allocations: 183.3 kB / 0.9863 GB, free: 13.07 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.006578, allocations: 326.8 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.006835, allocations: 181 kB / 0.9868 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.00704, allocations: 187.6 kB / 0.987 GB, free: 12.39 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.007286, allocations: 147.6 kB / 0.9871 GB, free: 12.24 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.007316, allocations: 20 kB / 0.9871 GB, free: 12.22 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.007564, allocations: 227.4 kB / 0.9873 GB, free: 12 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.601e-05/0.00765, allocations: 115.7 kB / 0.9874 GB, free: 11.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.007717, allocations: 79.83 kB / 0.9875 GB, free: 11.81 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.008065, allocations: 442.7 kB / 0.9879 GB, free: 11.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.008068, allocations: 0 / 0.9879 GB, free: 11.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.008069, allocations: 0 / 0.9879 GB, free: 11.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.008073, allocations: 4 kB / 0.9879 GB, free: 11.37 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.0006229/0.008696, allocations: 493.3 kB / 0.9884 GB, free: 10.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.008738, allocations: 12.03 kB / 0.9884 GB, free: 10.84 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.392e-05/0.008792, allocations: 54.73 kB / 0.9885 GB, free: 10.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/0.009175, allocations: 92.69 kB / 0.9886 GB, free: 10.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.0094, allocations: 204 kB / 0.9888 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.009413, allocations: 16.88 kB / 0.9888 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.009484, allocations: 28.55 kB / 0.9888 GB, free: 10.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.009876, allocations: 432.9 kB / 0.9892 GB, free: 9.969 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.009891, allocations: 4.125 kB / 0.9892 GB, free: 9.965 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.009913, allocations: 11.94 kB / 0.9892 GB, free: 9.953 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.009973, allocations: 32.48 kB / 0.9893 GB, free: 9.922 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.01029, allocations: 309.7 kB / 0.9896 GB, free: 9.621 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.01129, allocations: 1.074 MB / 0.9906 GB, free: 8.488 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.01157, allocations: 210.4 kB / 0.9908 GB, free: 8.273 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.01168, allocations: 105.1 kB / 0.9909 GB, free: 8.168 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.611e-05/0.01175, allocations: 7.938 kB / 0.9909 GB, free: 8.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.01178, allocations: 42.47 kB / 0.991 GB, free: 8.109 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.01178, allocations: 3.938 kB / 0.991 GB, free: 8.105 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0009057/0.01268, allocations: 0.7219 MB / 0.9917 GB, free: 7.352 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.01271, allocations: 51.41 kB / 0.9917 GB, free: 7.289 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.01285, allocations: 203.2 kB / 0.9919 GB, free: 7.082 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.01287, allocations: 25.7 kB / 0.9919 GB, free: 7.051 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.01294, allocations: 164.2 kB / 0.9921 GB, free: 6.887 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.01298, allocations: 75.38 kB / 0.9922 GB, free: 6.812 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.01305, allocations: 57.64 kB / 0.9922 GB, free: 6.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.01321, allocations: 326.8 kB / 0.9925 GB, free: 6.422 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.01332, allocations: 111.9 kB / 0.9926 GB, free: 6.312 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.01346, allocations: 169.9 kB / 0.9928 GB, free: 6.125 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.01373, allocations: 295.7 kB / 0.9931 GB, free: 5.816 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01373, allocations: 3.938 kB / 0.9931 GB, free: 5.812 MB / 0.948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004763/0.01421, allocations: 410 kB / 0.9935 GB, free: 5.402 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01422, allocations: 8 kB / 0.9935 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01423, allocations: 8.125 kB / 0.9935 GB, free: 5.387 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.01448, allocations: 92.77 kB / 0.9936 GB, free: 5.293 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.01463, allocations: 59.89 kB / 0.9936 GB, free: 5.234 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.01605, allocations: 1.76 MB / 0.9954 GB, free: 3.355 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01615, allocations: 20 kB / 0.9954 GB, free: 3.336 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.01616, allocations: 8 kB / 0.9954 GB, free: 3.328 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.0001016/0.01626, allocations: 161.7 kB / 0.9955 GB, free: 3.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.01629, allocations: 19.97 kB / 0.9956 GB, free: 3.141 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.01659, allocations: 299.2 kB / 0.9958 GB, free: 2.844 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01659, allocations: 4 kB / 0.9958 GB, free: 2.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01659, allocations: 0 / 0.9958 GB, free: 2.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.0166, allocations: 0 / 0.9958 GB, free: 2.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.01713, allocations: 0.6475 MB / 0.9965 GB, free: 2.137 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01714, allocations: 4 kB / 0.9965 GB, free: 2.133 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.01729, allocations: 59.95 kB / 0.9965 GB, free: 2.074 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01729, allocations: 4 kB / 0.9965 GB, free: 2.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.0173, allocations: 4 kB / 0.9965 GB, free: 2.066 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.0173, allocations: 11.88 kB / 0.9966 GB, free: 2.055 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01731, allocations: 3.938 kB / 0.9966 GB, free: 2.051 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.01769, allocations: 0.5108 MB / 0.9971 GB, free: 1.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.01775, allocations: 39.88 kB / 0.9971 GB, free: 1.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.01777, allocations: 11.98 kB / 0.9971 GB, free: 1.469 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.01785, allocations: 11.92 kB / 0.9971 GB, free: 1.457 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.01787, allocations: 15.92 kB / 0.9971 GB, free: 1.441 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.01788, allocations: 8 kB / 0.9971 GB, free: 1.434 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.334e-05/0.01796, allocations: 149.2 kB / 0.9973 GB, free: 1.285 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.01796, allocations: 4 kB / 0.9973 GB, free: 1.281 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002141/0.01818, allocations: 64 kB / 0.9974 GB, free: 1.219 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.0006693/0.01885, allocations: 1.06 MB / 0.9984 GB, free: 132 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.0193, allocations: 411.4 kB / 0.9988 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0193, allocations: 0 / 0.9988 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.0194, allocations: 111.9 kB / 0.9989 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.01965, allocations: 40.25 kB / 0.9989 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.02185, allocations: 2.842 MB / 1.002 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.02195, allocations: 173 kB / 1.002 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.767e-05/0.02205, allocations: 65.89 kB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.976e-05/0.02213, allocations: 64.47 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.02213, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.03926, allocations: 5.858 MB / 1.008 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/6.694, allocations: 2.812 kB / 1.008 GB, free: 6.609 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv","/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] "Error: Could not read variable sen.I in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable sen.V in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.V from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[2] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[2] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.518324399366975]