Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006984/0.006984, allocations: 105.5 kB / 15.74 MB, free: 6.027 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.001677/0.001677, allocations: 189.6 kB / 16.67 MB, free: 5.949 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.116/2.116, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7089/0.7101, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003995/0.7142, allocations: 3.266 MB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.7169, allocations: 2.021 MB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.717, allocations: 4.281 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008049/0.7179, allocations: 292.8 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.7183, allocations: 239.2 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.7189, allocations: 281.1 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.7194, allocations: 411.6 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.7197, allocations: 205 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.7199, allocations: 159 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.7203, allocations: 206.1 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.7204, allocations: 23.59 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.7208, allocations: 262.7 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.721, allocations: 120.8 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.7211, allocations: 143.5 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.7217, allocations: 493.7 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7217, allocations: 1.484 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7217, allocations: 0 / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.7218, allocations: 0 / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009376/0.7227, allocations: 0.5954 MB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.7227, allocations: 8.438 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.688e-05/0.7229, allocations: 72.48 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000987/0.7238, allocations: 119.2 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.7243, allocations: 288.7 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.7243, allocations: 17.66 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.7244, allocations: 43.97 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.7253, allocations: 457.3 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.7253, allocations: 1.219 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.7253, allocations: 11.77 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.7255, allocations: 38.84 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.7262, allocations: 362.5 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.7288, allocations: 2.219 MB / 1.099 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.7293, allocations: 266.7 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.7296, allocations: 161.2 kB / 1.1 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.7296, allocations: 2.531 kB / 1.1 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.7296, allocations: 41.39 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.7296, allocations: 0 / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.001843/0.7315, allocations: 1.057 MB / 1.101 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.7315, allocations: 54.31 kB / 1.101 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.7319, allocations: 253.7 kB / 1.101 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.7319, allocations: 31.92 kB / 1.101 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.732, allocations: 190.3 kB / 1.101 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.7321, allocations: 90.89 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.7322, allocations: 68.88 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7324, allocations: 335.8 kB / 1.102 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.7327, allocations: 156.8 kB / 1.102 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.733, allocations: 242.6 kB / 1.102 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.7336, allocations: 412 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7337, allocations: 5.5 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001362/0.735, allocations: 0.595 MB / 1.103 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7351, allocations: 8.844 kB / 1.103 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.7351, allocations: 7.672 kB / 1.103 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/0.7358, allocations: 194.9 kB / 1.103 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.7361, allocations: 67.03 kB / 1.104 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.739, allocations: 2.494 MB / 1.106 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.7394, allocations: 30.73 kB / 1.106 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.7394, allocations: 16.25 kB / 1.106 GB, free: 9.137 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.7396, allocations: 167.9 kB / 1.106 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.7397, allocations: 23.12 kB / 1.106 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.7403, allocations: 354.6 kB / 1.107 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7403, allocations: 2.344 kB / 1.107 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.7403, allocations: 1.094 kB / 1.107 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7403, allocations: 5.5 kB / 1.107 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.7414, allocations: 0.8254 MB / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7414, allocations: 0 / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.7419, allocations: 69.88 kB / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.7419, allocations: 2.125 kB / 1.107 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.7419, allocations: 8.375 kB / 1.107 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.7419, allocations: 2 kB / 1.107 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7419, allocations: 5.844 kB / 1.107 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.7427, allocations: 0.6087 MB / 1.108 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.7428, allocations: 129.8 kB / 1.108 GB, free: 7.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.7429, allocations: 7.922 kB / 1.108 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.7431, allocations: 15.86 kB / 1.108 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.7432, allocations: 24.34 kB / 1.108 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.7432, allocations: 5.359 kB / 1.108 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002275/0.7434, allocations: 188.3 kB / 1.108 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7435, allocations: 0 / 1.108 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000422/0.7439, allocations: 89.75 kB / 1.108 GB, free: 7.719 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.001013/0.7449, allocations: 1.156 MB / 1.11 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009397/0.7459, allocations: 0.5386 MB / 1.11 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7459, allocations: 1.312 kB / 1.11 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.7461, allocations: 151.8 kB / 1.11 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.7466, allocations: 57.81 kB / 1.11 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.7517, allocations: 3.687 MB / 1.114 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.7521, allocations: 0.7921 MB / 1.115 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002245/0.7523, allocations: 76.53 kB / 1.115 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.7525, allocations: 87.25 kB / 1.115 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.7525, allocations: 0 / 1.115 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.7789, allocations: 6.932 MB / 1.122 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.73, allocations: 15.16 kB / 1.122 GB, free: 2.656 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches