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.0007921/0.0007921, 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.0008423/0.0008423, allocations: 169.9 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.8486/0.8486, allocations: 177.1 MB / 202.8 MB, free: 5.75 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 1.703/1.703, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.829e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003075/0.003093, allocations: 3.05 MB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.005011, allocations: 1.679 MB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.005166, allocations: 7.938 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007341/0.0059, allocations: 338.6 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.006321, allocations: 218.8 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.006754, allocations: 179.4 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.007041, allocations: 322.9 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.007325, allocations: 169 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.007573, allocations: 203.4 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.007807, allocations: 147.6 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.007834, allocations: 20 kB / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.00813, allocations: 223.4 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.008212, allocations: 107.7 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.008279, allocations: 91.73 kB / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.008649, allocations: 446.7 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008653, allocations: 0 / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.754e-06/0.008655, allocations: 4 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.00866, allocations: 0 / 1.007 GB, free: 6.316 MB / 0.9636 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.0006892/0.009349, allocations: 481.4 kB / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.009388, allocations: 12.75 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.009433, allocations: 58.72 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004071/0.00984, allocations: 92.69 kB / 1.007 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.01008, allocations: 203.3 kB / 1.007 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.01011, allocations: 12.88 kB / 1.007 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.01018, allocations: 28.52 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.01058, allocations: 428.9 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01059, allocations: 192 / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.01062, allocations: 15.92 kB / 1.008 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.741e-05/0.01068, allocations: 32.47 kB / 1.008 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.01098, allocations: 305.8 kB / 1.008 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.012, allocations: 1.093 MB / 1.009 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.01227, allocations: 202.5 kB / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.681e-05/0.01237, allocations: 110.4 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.086e-05/0.01246, allocations: 15.92 kB / 1.01 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.01248, allocations: 34.5 kB / 1.01 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.804e-06/0.01249, allocations: 0 / 1.01 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.0008729/0.01336, allocations: 0.7215 MB / 1.01 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.01338, allocations: 55.41 kB / 1.01 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.01351, allocations: 194.7 kB / 1.011 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.01353, allocations: 33.7 kB / 1.011 GB, free: 2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.01361, allocations: 164.2 kB / 1.011 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.01364, allocations: 75.31 kB / 1.011 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.0137, allocations: 49.7 kB / 1.011 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.01379, allocations: 330.8 kB / 1.011 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.0139, allocations: 111.9 kB / 1.011 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.01403, allocations: 171.2 kB / 1.011 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.01428, allocations: 301.8 kB / 1.012 GB, free: 0.7617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01428, allocations: 7.938 kB / 1.012 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004934/0.01478, allocations: 406 kB / 1.012 GB, free: 356 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01479, allocations: 12.17 kB / 1.012 GB, free: 344 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.0148, allocations: 7.938 kB / 1.012 GB, free: 336 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.01506, allocations: 96.77 kB / 1.012 GB, free: 236 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.0152, allocations: 55.83 kB / 1.012 GB, free: 180 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.01643, allocations: 1.761 MB / 1.014 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.01656, allocations: 16.02 kB / 1.014 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.01657, allocations: 11.98 kB / 1.014 GB, free: 14.28 MB / 0.9792 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.0001235/0.01669, allocations: 163.5 kB / 1.014 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.01672, allocations: 19.97 kB / 1.014 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.01705, allocations: 297.7 kB / 1.015 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01705, allocations: 4 kB / 1.015 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01705, allocations: 0 / 1.015 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01706, allocations: 3.984 kB / 1.015 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.01766, allocations: 0.6474 MB / 1.015 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01767, allocations: 3.938 kB / 1.015 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.01783, allocations: 56.02 kB / 1.015 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01784, allocations: 4 kB / 1.015 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.01785, allocations: 4 kB / 1.015 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01785, allocations: 4 kB / 1.015 GB, free: 13 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01785, allocations: 3.938 kB / 1.015 GB, free: 13 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.01826, allocations: 0.5086 MB / 1.016 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.01832, allocations: 39.91 kB / 1.016 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.01834, allocations: 11.94 kB / 1.016 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.01843, allocations: 15.92 kB / 1.016 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.01845, allocations: 15.97 kB / 1.016 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.01846, allocations: 8.062 kB / 1.016 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.801e-05/0.01855, allocations: 148.6 kB / 1.016 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01855, allocations: 0 / 1.016 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002529/0.0188, allocations: 60 kB / 1.016 GB, free: 12.17 MB / 0.9792 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.0006099/0.01941, allocations: 1.069 MB / 1.017 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.01992, allocations: 406.6 kB / 1.017 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01992, allocations: 0 / 1.017 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.02002, allocations: 115.8 kB / 1.018 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.02032, allocations: 42.36 kB / 1.018 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.02282, allocations: 2.84 MB / 1.02 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.02293, allocations: 165.2 kB / 1.021 GB, free: 7.359 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000116/0.02305, allocations: 65.89 kB / 1.021 GB, free: 7.297 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.02313, allocations: 60.48 kB / 1.021 GB, free: 7.238 MB / 0.9792 GB Notification: Performance of SimCode: time 1.353e-06/0.02313, allocations: 0 / 1.021 GB, free: 7.238 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.04597, allocations: 5.857 MB / 1.026 GB, free: 1.547 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.004, allocations: 0 / 1.026 GB, free: 1.547 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.I from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable sen.V in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable sen.V from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[1] in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[1] from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! Error: Could not read variable loa.S[2] in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv. Warning: Get data of variable loa.S[2] from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.98124654777348]