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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001032/0.001032, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007764/0.007764, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003459, allocations: 12 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6087, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00369/0.6124, allocations: 2.949 MB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.6152, allocations: 1.827 MB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.6154, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.6156, allocations: 47.64 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.6161, allocations: 195.2 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.6168, allocations: 267.5 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005881/0.6174, allocations: 0.5687 MB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007517/0.6182, allocations: 469.1 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.6184, allocations: 135.4 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.6188, allocations: 187.3 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.6189, allocations: 12 kB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.6193, allocations: 275.4 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.6194, allocations: 111.7 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.6196, allocations: 153 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.6201, allocations: 476.7 kB / 1.031 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6201, allocations: 0 / 1.031 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6201, allocations: 0 / 1.031 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.6202, allocations: 0 / 1.031 GB, free: 8.125 MB / 0.7794 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.000902/0.6211, allocations: 0.5342 MB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6211, allocations: 12.03 kB / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.561e-05/0.6212, allocations: 62.72 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007289/0.6219, allocations: 96.47 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.6223, allocations: 273.7 kB / 1.032 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.6223, allocations: 16.94 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.6224, allocations: 44.19 kB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/0.6231, allocations: 441.1 kB / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.6231, allocations: 3.938 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.6231, allocations: 15.98 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.6233, allocations: 40.53 kB / 1.032 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.6238, allocations: 349.9 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.626, allocations: 2.206 MB / 1.035 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.6264, allocations: 266.4 kB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.6266, allocations: 164.8 kB / 1.035 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.6266, allocations: 4 kB / 1.035 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.6267, allocations: 34.94 kB / 1.035 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 5.801e-06/0.6267, allocations: 0 / 1.035 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001635/0.6283, allocations: 1.059 MB / 1.036 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.6284, allocations: 55.41 kB / 1.036 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.6286, allocations: 248.9 kB / 1.036 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.6286, allocations: 29.7 kB / 1.036 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.6287, allocations: 191.9 kB / 1.037 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.6288, allocations: 86.8 kB / 1.037 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.6289, allocations: 37.7 kB / 1.037 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.629, allocations: 330.8 kB / 1.037 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.6292, allocations: 151.9 kB / 1.037 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.6295, allocations: 245.5 kB / 1.037 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.6299, allocations: 406.8 kB / 1.038 GB, free: 272 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.63, allocations: 0 / 1.038 GB, free: 272 kB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001056/0.631, allocations: 0.5816 MB / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.631, allocations: 11.98 kB / 1.038 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6311, allocations: 0 / 1.038 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.6317, allocations: 192.8 kB / 1.039 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.632, allocations: 59.89 kB / 1.039 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.6346, allocations: 2.303 MB / 1.041 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.6348, allocations: 19.98 kB / 1.041 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.6349, allocations: 12.11 kB / 1.041 GB, free: 12.95 MB / 0.795 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.0001611/0.635, allocations: 171.5 kB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.6351, allocations: 31.64 kB / 1.041 GB, free: 12.74 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.6356, allocations: 359.5 kB / 1.041 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6357, allocations: 0 / 1.041 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.6357, allocations: 0 / 1.041 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6357, allocations: 3.984 kB / 1.041 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000974/0.6366, allocations: 0.8103 MB / 1.042 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6367, allocations: 0 / 1.042 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.6371, allocations: 75.88 kB / 1.042 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6371, allocations: 0 / 1.042 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.6371, allocations: 19.98 kB / 1.042 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6371, allocations: 4 kB / 1.042 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6371, allocations: 0 / 1.042 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.6378, allocations: 0.6161 MB / 1.043 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.638, allocations: 128.9 kB / 1.043 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.638, allocations: 0 / 1.043 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.6382, allocations: 19.98 kB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.6383, allocations: 19.92 kB / 1.043 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.6383, allocations: 4 kB / 1.043 GB, free: 10.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001619/0.6384, allocations: 188.4 kB / 1.043 GB, free: 10.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6385, allocations: 0 / 1.043 GB, free: 10.41 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003858/0.6388, allocations: 84 kB / 1.043 GB, free: 10.32 MB / 0.795 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.0009582/0.6398, allocations: 1.156 MB / 1.044 GB, free: 9.137 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008114/0.6406, allocations: 0.5321 MB / 1.045 GB, free: 8.594 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6406, allocations: 0 / 1.045 GB, free: 8.594 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.6408, allocations: 151.8 kB / 1.045 GB, free: 8.445 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.6413, allocations: 53.09 kB / 1.045 GB, free: 8.398 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.646, allocations: 3.843 MB / 1.049 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.6463, allocations: 0.7989 MB / 1.05 GB, free: 3.559 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002123/0.6466, allocations: 78.84 kB / 1.05 GB, free: 3.484 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.6467, allocations: 79.41 kB / 1.05 GB, free: 3.406 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.6467, allocations: 0 / 1.05 GB, free: 3.406 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.6641, allocations: 6.274 MB / 1.056 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.6643, allocations: 239.6 kB / 1.056 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.429, allocations: 3.938 kB / 1.056 GB, free: 13.06 MB / 0.8106 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