Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_10_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.006786/0.006786, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.002192/0.002192, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.779/2.779, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3046, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004947/0.3095, allocations: 3.28 MB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.3129, allocations: 2.003 MB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.3132, allocations: 4 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.3142, allocations: 290.7 kB / 1.172 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007428/0.315, allocations: 242.9 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.3158, allocations: 287.2 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.3164, allocations: 414.7 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.3169, allocations: 204.2 kB / 1.173 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.3172, allocations: 163.4 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.3177, allocations: 191.3 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.365e-05/0.3178, allocations: 27.98 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005583/0.3184, allocations: 267.5 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.3185, allocations: 123.7 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.3188, allocations: 143.3 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007658/0.3195, allocations: 498.2 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3195, allocations: 0 / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3195, allocations: 0 / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.3196, allocations: 4 kB / 1.174 GB, free: 15.21 MB / 0.9356 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.001205/0.3208, allocations: 0.5965 MB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3208, allocations: 8.031 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.656e-05/0.3209, allocations: 70.7 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000991/0.3219, allocations: 116.4 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.3224, allocations: 277.2 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.3224, allocations: 24.88 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.3226, allocations: 36.48 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.3233, allocations: 457.1 kB / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.3233, allocations: 0 / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.3234, allocations: 12 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.3235, allocations: 40.53 kB / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/0.3242, allocations: 361.9 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.3268, allocations: 2.23 MB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.3273, allocations: 266.4 kB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.3275, allocations: 156.8 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3275, allocations: 11.94 kB / 1.179 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3275, allocations: 38.55 kB / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.3276, allocations: 0 / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.001813/0.3294, allocations: 1.055 MB / 1.18 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.3294, allocations: 55.41 kB / 1.18 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.3298, allocations: 260.8 kB / 1.18 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3298, allocations: 25.7 kB / 1.18 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.33, allocations: 188 kB / 1.18 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-05/0.33, allocations: 90.73 kB / 1.18 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.3302, allocations: 81.53 kB / 1.18 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3303, allocations: 334.8 kB / 1.181 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.3306, allocations: 159.9 kB / 1.181 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.331, allocations: 245.5 kB / 1.181 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.3315, allocations: 410.8 kB / 1.181 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3316, allocations: 7.938 kB / 1.181 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001181/0.3327, allocations: 0.5925 MB / 1.182 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3328, allocations: 8 kB / 1.182 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3328, allocations: 0 / 1.182 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/0.3335, allocations: 188.9 kB / 1.182 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.3338, allocations: 67.89 kB / 1.182 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.3367, allocations: 2.491 MB / 1.185 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.3371, allocations: 19.98 kB / 1.185 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.3371, allocations: 19.98 kB / 1.185 GB, free: 3.609 MB / 0.9356 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.0001824/0.3373, allocations: 165.8 kB / 1.185 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.3374, allocations: 23.72 kB / 1.185 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/0.3379, allocations: 357.9 kB / 1.185 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3379, allocations: 0 / 1.185 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3379, allocations: 0 / 1.185 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.338, allocations: 7.984 kB / 1.185 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.339, allocations: 0.8238 MB / 1.186 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.339, allocations: 0 / 1.186 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/0.3394, allocations: 71.94 kB / 1.186 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3394, allocations: 0 / 1.186 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.3394, allocations: 11.94 kB / 1.186 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3394, allocations: 3.938 kB / 1.186 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3395, allocations: 8 kB / 1.186 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.3402, allocations: 0.6112 MB / 1.187 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3403, allocations: 132.8 kB / 1.187 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.3404, allocations: 8 kB / 1.187 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.3406, allocations: 11.98 kB / 1.187 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.3407, allocations: 19.91 kB / 1.187 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3407, allocations: 11.94 kB / 1.187 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000209/0.3409, allocations: 196.4 kB / 1.187 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3409, allocations: 0 / 1.187 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004322/0.3413, allocations: 88 kB / 1.187 GB, free: 0.957 MB / 0.9356 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.001023/0.3424, allocations: 1.154 MB / 1.188 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008851/0.3433, allocations: 0.5399 MB / 1.189 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3433, allocations: 4.125 kB / 1.189 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.3435, allocations: 151.8 kB / 1.189 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.3439, allocations: 58.69 kB / 1.189 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.3491, allocations: 3.689 MB / 1.193 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3495, allocations: 0.7989 MB / 1.193 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.3497, allocations: 78.91 kB / 1.193 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.3499, allocations: 87.39 kB / 1.194 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.3499, allocations: 4 kB / 1.194 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.3768, allocations: 6.914 MB / 1.2 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.671/10.05, allocations: 10.44 kB / 1.2 GB, free: 3.422 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches